How to add multiple test cases (Unity)

Thomas
Thu, 19 Sep 2024 15:39:52 +0000
Usage

CTest is called with /usr/bin/ctest -j6 -C Debug -T test --output-on-failure --output-junit TestResults.xml and the exectuable is added with add_test(${test_name} ${test_runner_name}). The TestResults.xml does containt one test case but several are run by the test runner.

Is it possible to specify test cases with add_test or is create_test_sourcelist the way to go?

2 posts - 1 participant