summaryrefslogtreecommitdiff
path: root/tests/projects/other/object_only/src/foo.cpp
diff options
context:
space:
mode:
authorFrancesco Guastella <[email protected]>2025-06-25 13:27:43 +0200
committerFrancesco Guastella <[email protected]>2025-06-25 16:21:36 +0200
commita54968a5f15b9088461fc7a94b909fbf8cb04340 (patch)
treeab1c9725d44db1993efb7648f63b922ac2822bdf /tests/projects/other/object_only/src/foo.cpp
parentac40f478b8e03306b788d28c8882d2197d37fdf6 (diff)
feat(test): Support expected-failure tests via should_fail option
This patch adds support for marking test cases as expected to fail using the should_fail option in add_tests(). This is useful for validating crash handling, incomplete features, or contract-breaking behavior in a controlled manner. The test report has also been slightly modified to: - Distinguish expected failures and unexpected passes. - Print a detailed summary of failed tests, unexpected passes, and expected failures at the end.
Diffstat (limited to 'tests/projects/other/object_only/src/foo.cpp')
0 files changed, 0 insertions, 0 deletions