TestExecWindow parses the source files of your test application to look for test suites and test cases to execute. During parsing the following rules and assumptions apply:
- within your Visual Studio solution only one startup project is set
- TestExecWindow knows the path to your startup project file. It assumes that all .cpp files located in the project directory or within a subdirectory of it may contain test cases.
- BOOST tests are expected to use the following macros to define the test case structure:
BOOST_AUTO_TEST_CASE
BOOST_AUTO_TEST_CASE_TEMPLATE
BOOST_AUTO_TEST_SUITE
BOOST_DATA_TEST_CASE
BOOST_DATA_TEST_CASE_F
BOOST_FIXTURE_TEST_SUITE
BOOST_FIXTURE_TEST_CASE
BOOST_AUTO_TEST_SUITE_END
TTB_BOOST_TEST_CASE (a combination of BOOST.Test with proprietary TTB framework)
TTB_BOOST_DATA_TEST_CASE (a combination of BOOST.Test with proprietary TTB framework)
TTB_BOOST_FIXTURE_TEST_CASE (a combination of BOOST.Test with proprietary TTB framework)
- TTB tests are expected to use the following macros to define the test case structure:
TTB_TEST_FUNC
TTB_TEST_FUNC_DESC