When to Use
Add this when requesting test generation or adding test coverage to ensure tests import and invoke real production functions instead of reimplementing business logic.Rule Definition
Name — Require Test Coverage Description — paste this into the rule description field on the platform:How It Works
- Add this rule to your project on the platform
- Constraints are enforced during test generation
- Generated tests import real production functions and test actual behavior
- Tests contain only imports, setup, invocation, and assertions
- Code review validates that test files do not contain reimplemented business logic