Menu

Order of tests with TEST_SUITE_REGISTRATION?

Help
2008-01-14
2013-04-22
  • Boris Dušek

    Boris Dušek - 2008-01-14

    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

     
    • Boris Dušek

      Boris Dušek - 2008-01-14

      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).

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.