huskies: create 471_story_bot_command_to_show_overall_test_coverage
This commit is contained in:
-20
@@ -1,20 +0,0 @@
|
||||
---
|
||||
name: "Reduce timer tick interval to 1 second and suppress idle tick logging"
|
||||
---
|
||||
|
||||
# Story 470: Reduce timer tick interval to 1 second and suppress idle tick logging
|
||||
|
||||
## User Story
|
||||
|
||||
As a user scheduling timers, I want the tick loop to check every 1 second instead of 30 so timers fire promptly, without flooding the logs with an entry every second when nothing is due.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Timer tick interval changed from 30 seconds to 1 second
|
||||
- [ ] No log entry on idle ticks (when take_due returns empty)
|
||||
- [ ] Log entry only when a timer actually fires (due list non-empty)
|
||||
- [ ] Startup log line still shows number of pending timers loaded
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: "Bot command to show overall test coverage"
|
||||
---
|
||||
|
||||
# Story 471: Bot command to show overall test coverage
|
||||
|
||||
## User Story
|
||||
|
||||
As a user, I want a bot command (e.g. `coverage`) that runs the test suite with coverage instrumentation and reports the overall coverage percentage, so I can track code quality without leaving the chat.
|
||||
|
||||
## 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
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
Reference in New Issue
Block a user