Agent skill

test-one-thing

A test should have one reason to fail Use when writing and organizing tests. Testing category skill.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/test-one-thing

Metadata

Additional technical details for this skill

category
Testing
priority
high
is built in
YES
session guardian id
builtin_test_one_thing

SKILL.md

Test One Thing

A test should have one reason to fail. Use descriptive test names that explain the scenario and expected outcome (e.g., "shouldReturnNullWhenUserNotFound"). Avoid multiple assertions testing unrelated behaviors. If a test name requires "and," consider splitting it. This makes failures immediately understandable and pinpoints issues precisely.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results