I am trying to write a setup() and teardown() function for the entire suite which are supposedly run only once (not the test fixture setup/teardown ones which run for each of the test case).
I googled and found somewhere that CPPUNIT_TEST_SUITE_SETUP() and CPPUNIT_TEST_SUITE_TEARDOWN() can be used to register my methods. But I am not able to find the definitions of these macros anywhere. I am using 1.12.1 and are these not supported ?
Are there any other solutions for my requirement ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to write a setup() and teardown() function for the entire suite which are supposedly run only once (not the test fixture setup/teardown ones which run for each of the test case).
I googled and found somewhere that CPPUNIT_TEST_SUITE_SETUP() and CPPUNIT_TEST_SUITE_TEARDOWN() can be used to register my methods. But I am not able to find the definitions of these macros anywhere. I am using 1.12.1 and are these not supported ?
Are there any other solutions for my requirement ?