catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
NoAssertions runs only 1 test case instead of all of them
- Commit
86e19b952dc4a4a2526037602abcc96a80607acc- Author
- Martin Hořeňovský ·
- Parents
bce5b364d39a
Changes
tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4e6c98f2..981e5519 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -163,7 +163,7 @@ set_tests_properties(List::Reporters::XmlOutput PROPERTIES -add_test(NAME NoAssertions COMMAND $<TARGET_FILE:SelfTest> -w NoAssertions) +add_test(NAME NoAssertions COMMAND $<TARGET_FILE:SelfTest> -w NoAssertions "An empty test with no assertions") set_tests_properties(NoAssertions PROPERTIES PASS_REGULAR_EXPRESSION "No assertions in test case") add_test(NAME NoTest COMMAND $<TARGET_FILE:SelfTest> Tracker, "___nonexistent_test___")