i'm trying to figure out how to make a hierachy of tests, to get a tree structure displayed in the TreeHierarchyDlg ( i use MFC ).
it appears that i have to use test suites and register them with some macro, but which?
i would like a structure like this:
+ all tests
| + testcase1
| + testcase2
| + testcase1c
| + testcase2c
| + test case1d
how can that be done ?-
See unit tests of cppunit: cppunit-1.12.0/examples/cppunittest/CppUnitTestSuite.cpp
StringToolsTest::testToStringInt : OK
StringToolsTest::testToStringDouble : OK
XmlUniformiserTest::testElementsHierarchyWithContents : OK
XmlUniformiserTest::testAssertXmlEqual : OK
./CppUnitTestMain "/All Tests"
./CppUnitTestMain "/All Tests/UnitTestTool"
./CppUnitTestMain "/All Tests/UnitTestTool/XmlUniformiserTest"
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.