I am having a CPPUNIT_TEST_SUITE_REGISTRATION macro in .cpp file of each test.
How can I, in such a setup, specify order of test? It is very important because some higher-level tests assume that lower-level stuff already works, so I want to make sure that tests for low-level features get run before tests for high-level features. Is there a way to specify dependencies between tests for (not only) this purpose?
Thanks for any idea,
Boris Dusek
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To clarify, I want to specify order of execution between different _test suites_, not between simple tests inside one TestFixture (since the order there is determined by the order in which they are added to test suite).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am having a CPPUNIT_TEST_SUITE_REGISTRATION macro in .cpp file of each test.
How can I, in such a setup, specify order of test? It is very important because some higher-level tests assume that lower-level stuff already works, so I want to make sure that tests for low-level features get run before tests for high-level features. Is there a way to specify dependencies between tests for (not only) this purpose?
Thanks for any idea,
Boris Dusek
To clarify, I want to specify order of execution between different _test suites_, not between simple tests inside one TestFixture (since the order there is determined by the order in which they are added to test suite).