Skip to content

Commit 8946002

Browse files
committed
Implement complete hierarchical summary phase for AdvancedConsoleOutputRecorder
- Add full hierarchical console output with Unicode box-drawing characters - Implement cross-platform terminal width detection (no stty dependency) - Use ASCII-based icon set for maximum platform compatibility - Add right-aligned duration formatting with clean x.xxs format - Follow single lock per event architecture for thread safety - Separate string formatting from console output logic for testability - Remove Foundation dependency - use Swift standard library only - Remove progress bar functionality to focus on hierarchical summary - Fix Environment.flag optional unwrapping in EntryPoint.swift Features: - Beautiful tree structure with ╰─, ├─, │ Unicode characters - 3-space indentation per hierarchy level - Clean duration display (0.05s, 0s, 0.06s) - Proper test status icons and issue reporting - Complete final summary with symbol showcase - Signal handling for on-demand status reporting
1 parent 16e581a commit 8946002

File tree

2 files changed

+794
-47
lines changed

2 files changed

+794
-47
lines changed

Sources/Testing/ABI/EntryPoints/EntryPoint.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func entryPoint(passing args: __CommandLineArguments_v0?, eventHandler: Event.Ha
6565
}
6666

6767
configuration.eventHandler = { [oldEventHandler = configuration.eventHandler] event, context in
68-
eventRecorder.handle(event, in: context)
68+
eventRecorder.record(event, in: context)
6969
oldEventHandler(event, context)
7070
}
7171
} else {

0 commit comments

Comments
 (0)