diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-12 03:15:52 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-12 03:15:52 -0600 |
| commit | 0d659d0d44c465a318acabfafa42cd64dab05cf0 (patch) | |
| tree | 76ba95b23347b671b9204966eb02657b93532745 /emojis/emojione-v2.2.6-22/1f1f9-1f1ed.png | |
| parent | 492887013c09d4a992d90b4802203e5b47f4e840 (diff) | |
docs: Add comprehensive test-reporter specification
Created detailed specification for test reporting system that will:
- Parse ERT batch output and generate test summaries
- Show total tests, passed, failed, duration
- List individual test failures with details
- Enable incremental improvement via TDD
Key Design Decisions:
- Language: Emacs Lisp (dogfooding, no dependencies, better integration)
- Architecture: Collect → Parse → Report
- Integration: Makefile + test-runner.el
- Test isolation: Clear tests on project switch
Implementation Phases:
- Phase 1: Basic stats (tests, passed, failed, duration)
- Phase 2: Failure details (messages, rerun commands)
- Phase 3: Rich details (timing, slowest tests, assertions)
Cross-Project Test Isolation:
- Problem: ERT tests globally registered across all projects
- Solution: Clear tests on project switch + project-aware commands
- Hybrid approach combining automatic and manual control
Integration Points:
- Makefile: Pipe output to test-reporter script
- test-runner.el: Post-run hooks or result wrapping
- ERT: Custom reporter (future enhancement)
Test-Driven Development:
- Parser tested with real ERT output samples
- Fixtures for edge cases
- Incremental improvement as new formats encountered
This is marked as NEXT PRIORITY TASK.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'emojis/emojione-v2.2.6-22/1f1f9-1f1ed.png')
0 files changed, 0 insertions, 0 deletions
