huskies: accept 471_story_bot_command_to_show_overall_test_coverage
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
---
|
||||
name: "Bot command to show overall test coverage"
|
||||
---
|
||||
|
||||
# Story 471: Bot command to show overall test coverage
|
||||
|
||||
## User Story
|
||||
|
||||
As a user on any chat transport (Matrix, WhatsApp, Slack, or web UI), I want a `coverage` command that runs the test suite with coverage instrumentation and reports the overall coverage percentage, so I can track code quality from any interface.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] New bot command `coverage` registered in the command registry
|
||||
- [ ] Runs test coverage (e.g. cargo llvm-cov or cargo tarpaulin) and parses the overall percentage
|
||||
- [ ] Reports overall line coverage percentage in chat response
|
||||
- [ ] Command appears in `help` output
|
||||
- [ ] Returns a clear error if the coverage tool is not installed
|
||||
- [ ] Command works across all transports (Matrix, WhatsApp, Slack, web UI) via the shared command registry
|
||||
- [ ] Available as both a bot command in chat and a slash command in Claude Code
|
||||
- [ ] By default, reads cached coverage from .coverage_baseline for an instant response without rerunning tests
|
||||
- [ ] Optional `coverage run` variant reruns script/test_coverage and reports fresh results
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
Reference in New Issue
Block a user