You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement hierarchical console output with comprehensive test result display (#1290)
Implement hierarchical console output with comprehensive test result
display
### Modifications:
- Implemented a tree structure using Unicode box-drawing characters (┌─,
├─, ╰─, │) that properly displays the relationship between modules, test
suites, and individual tests with ASCII fallback
- **Test Result Summary**:
- Right-aligned duration formatting in consistent `x.xxs` format
- Updated summary format: "X tests completed in Y.ZZs (pass: A, fail: B,
skip: C)"
- Concise failure summaries in hierarchy for quick scanning
- **Detailed Failure Section**:
- Complete hierarchical path display for failed tests
- Comprehensive failure analysis with test count: "FAILED TEST DETAILS
(3)"
- Detailed expectation failure messages with actual vs expected values
- Source location information with file and line numbers
- Progress tracking with error counters [1/3], [2/3], [3/3]
- Support for multiple expectations per test with individual analysis
- **Unit Tests**: Added automated tests following established patterns
to validate output formatting, hierarchy generation, and failure
handling
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
0 commit comments