Test Integrity
Purpose
Keep tests meaningful and honest.
When to Use
Use when writing, changing, disabling, or interpreting tests.
Inputs
Test intent, assertions, fixtures, failures, target behavior.
Steps
- Confirm what behavior the test protects.
- Avoid weakening assertions to pass.
- Run targeted checks from the target project profile.
- Explain skipped tests and risks.
Gates
Tests validate behavior rather than hide failures.
Evidence
Relevant test output, assertion changes, and failure explanation.
Anti-Patterns
Deleting or weakening failing tests for a green result.
Related
integration-testing, e2e-test-matrix