Agent skill

descriptive-test-names

Name tests to describe behavior: "should return empty array when no users match filter" not "test... 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/descriptive-test-names

Metadata

Additional technical details for this skill

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

SKILL.md

Descriptive Test Names

Name tests to describe behavior: "should return empty array when no users match filter" not "testGetUsers1". Include context about the scenario and expected result. When a test fails, the name should tell you what broke. Use consistent naming conventions. Group related tests with describe blocks that provide additional context.

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