test-review
Use this skill to review unit-tests, component-tests, and integration tests.
Security Assessment
About test-review
The 'test-review' skill is designed to assist developers in reviewing unit tests, component tests, and integration tests by providing actionable feedback. It addresses the need for thorough and effective test reviews, which are crucial for maintaining high code quality in software development. This skill ensures that test code adheres to best practices, is efficient, and covers critical edge cases. By reviewing test code against a set of clear and objective criteria, developers can avoid potential bugs and ensure that their tests are both comprehensive and meaningful.
FAQ
How does the skill ensure that excluded files are not reviewed?
The skill checks the contents of '.testcriticignore' and '.gitignore' to verify if a test file should be excluded from the review. Files listed in these files will not be reviewed.
What criteria does the skill use to review tests?
The skill evaluates tests based on coverage adequacy, test redundancy, compliance with the Arrange-Act-Assert pattern, assertion quality, single responsibility per test, and fixture usage and setup complexity.
Does this skill have any specific requirements for the environment or framework?
The skill doesn't specify any particular testing framework but assumes that the tests are written according to standard practices. It evaluates tests based on general principles applicable to most testing frameworks.
What should I do if the feedback seems too strict or impractical?
The skill includes a self-critique mechanism where you can validate if the issue raised is truly a problem and if the recommended change will genuinely improve the test quality.
Install test-review
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
wmeints/promptyard