You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/verification-before-completion - Before claiming done
Key Concerns
Test Coverage
80%+ line coverage on changes
Critical paths fully covered (rules, systems)
Edge cases tested (boundary values, nulls)
Scenario tests for long-running simulations
Simulation Health
Starvation rate < 5%
Zero stuck NPCs (no valid actions)
Economic balance (income vs expenses)
Progression milestones achieved
Test Quality
Tests are meaningful (not just coverage)
Assertions are specific
Tests are independent and deterministic
Uses seeded random for reproducibility
Test Organisation
Naming: MethodName_Scenario_Expected
Arrange/Act/Assert structure
Separate unit, integration, scenario tests
Checklist
New code has corresponding tests
Tests follow naming convention
No test interdependencies
Unit tests cover rules and value objects
Scenario tests verify long-term behavior
Health checks validate world stability
Tests are deterministic (seeded random)
Edge cases explicitly tested
Output Format
## Test Review: {Subject}### Coverage Assessment-[ ] Unit test coverage: {percentage or qualitative}
-[ ] Scenario tests: {present/missing/partial}
-[ ] Edge cases: {covered/gaps identified}
### Simulation Health-**Starvation check:** {implemented/missing}
-**Stuck NPC detection:** {implemented/missing}
-**Economic validation:** {implemented/missing}
### Missing Tests
{Specific scenarios not covered}
### Test Quality Issues-**Reliability:** {stable/flaky}
-**Determinism:** {seeded/non-deterministic}
-**Independence:** {isolated/coupled}
### Blocking Issues
{list any blocking issues or "None"}
Game-Specific Context
Test Projects
tests/
├── FantasyRpgWorld.Core.Tests/ # Unit tests for rules, value objects
├── FantasyRpgWorld.Simulation.Tests/ # Unit tests for systems
└── FantasyRpgWorld.Scenarios/ # Long-running scenario tests