# Test Integrity

> Keep tests meaningful and honest. Use when writing, changing, disabling, or interpreting tests.

- Skill: `lubochka/test-integrity` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lubochka/test-integrity`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lubochka/test-integrity/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: lubochka (https://skillmd.com/u/lubochka)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/lubochka/test-integrity

---


# 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
1. Confirm what behavior the test protects.
2. Avoid weakening assertions to pass.
3. Run targeted checks from the target project profile.
4. 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`

