Why This Matters
app/output.py controls progress spinners, output-format selection, and humanized messages, but it has no direct test module.
Read First
Scope
- Add a dedicated test module for pure helpers and tracker behavior.
- Prefer testing helper outputs over brittle terminal snapshots.
- Keep the tests deterministic by patching time and TTY checks.
Tests / Coverage
tests/test_output.py
- cover
get_output_format()
- cover
_humanise_message()
- cover
_fmt_timing()
- cover
ProgressTracker.start() and complete() in text mode
Acceptance Criteria
- the module has direct unit coverage
- tests do not require a real TTY
- progress text remains stable across refactors
Why This Matters
app/output.pycontrols progress spinners, output-format selection, and humanized messages, but it has no direct test module.Read First
app/output.pyScope
Tests / Coverage
tests/test_output.pyget_output_format()_humanise_message()_fmt_timing()ProgressTracker.start()andcomplete()in text modeAcceptance Criteria