How to get test case names in output
- Dominant language
- C++
- Stars
- 21.5k
- Forks
- 3.5k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 2
Description
I expected one output option would be like this:
MyTestCase1: 5 assertions passed
MyTestCase2: 3 assertions passed
...
or even just
MyTestCase1: PASS
MyTestCase2: PASS
....
I figured the log should list the tests that were performed, not just "passed 182 test cases" since that doesn't tell you what tests were in place at the time.
I see the junit and xml reporters to include the test case names. Are there settings that produce a simple list like above? Or is it necessary to transform the xml, or write a reporter? Or is this not a useful output format to ask for for some reason?
Contributor guide
Research direction
Start by reading Catch2's existing JUnit and XML reporter documentation and entry points, then check whether current output settings expose test names and statuses. Done means either documenting an existing simple-list option or defining and implementing a reporter/output path that lists each performed test with its result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100