can output log only for failed case(s)
- Dominant language
- C++
- Stars
- 39.5k
- Forks
- 10.9k
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 1
Description
**Does the feature exist in the most recent commit?**
no
**Why do we need this feature?**
if there are hundreds/thousands test cases while only 1 failed, it's better the log only contains the failed one - smaller log size, easier to focus on failure info.
**Describe the proposal**
like this:

It uses SmartLog to contain log for each case, discarding if case passed, dumping to screen if case failed.
**Is the feature specific to an operating system, compiler, or build system version?**
no
Contributor guide
Research direction
The proposal describes retaining per-case SmartLog output and displaying it only for failed cases, but names no files, tests, or entry points. Start by locating the test logging and SmartLog implementation, then determine how failed-case output is currently emitted. Done means passed-case logs are discarded while failed-case logs remain available in the output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100