This topic explains how to convert convert test cases into regression test cases through test case verification.
...
- In the project tree, locate the test suite file that C++test generated.
- By default, automatically-generated test classes are saved in the
tests/autogenerated
directory within the tested project. - To check where C++test is saving the test suite files, open the Test Configurations dialog, select the Test Configuration that was used for the test run that generated the tests, then review the value in the Generation> Test Suite tab’s Test suite output file and layout field (see Test suite tab for details).
- By default, automatically-generated test classes are saved in the
- Double-click the project tree node that represents the generated test class. The generated test class file will open in an editor.
- Use the available macros to convert the postconditions to assertions.
- See C++test API Documentation for a list of macros.
- Make any additional modifications needed.
- Save the modified file.
...