Is there an entry point for CppUnitTestFramework unit tests ?
-
I need to initialize a 3rd party library when doing some/most of our unit tests. We have a working homemade framework with an entry point (_tmain) where we can do all initialization for all our tests. I can't seem to find the equivalent with CppUnitTestFramework. I don't want to add a wrapper to do the 3rd party library initialization for each unit test. Can I do such a thing ? Thanks.
I'd rather be phishing!
-
I need to initialize a 3rd party library when doing some/most of our unit tests. We have a working homemade framework with an entry point (_tmain) where we can do all initialization for all our tests. I can't seem to find the equivalent with CppUnitTestFramework. I don't want to add a wrapper to do the 3rd party library initialization for each unit test. Can I do such a thing ? Thanks.
I'd rather be phishing!
-
Thanks, I will look into it, but it seems to be run for each test and is not global to all my test cases and test classes. ? "Defines methodName as a method that runs before each test method is run. TEST_METHOD_INITIALIZE can only be defined once in a test class and must be defined in the scope of the test class."
I'd rather be phishing!