Skip to main content

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

  1. Add this rule to your project on the platform
  2. Constraints are enforced during test generation
  3. Generated tests import real production functions and test actual behavior
  4. Tests contain only imports, setup, invocation, and assertions
  5. Code review validates that test files do not contain reimplemented business logic