Advanced Test Writing Standards
Implements rigorous testing principles and quality standards to ensure code reliability and catch silent failures across any language or framework.
This skill provides a comprehensive framework for writing meaningful tests by emphasizing real assertions over 'mock theater' and adherence to the test pyramid. It guides the development process to derive test cases from three critical sources: user requirements, actual implementation, and response claims. By enforcing a 'Prove-it' pattern for bug fixes and identifying common AI-generated test smells—such as circular assertions or mocking the system under test—it ensures that test suites are robust, readable, and genuinely capable of catching regressions.
Key Features
01Multi-source test case derivation to eliminate coverage gaps
02DAMP (Descriptive and Meaningful Phrases) principle for readable test code
03Enforcement of the 80/15/5 test pyramid for unit, integration, and E2E tests
04Automated identification of AI-generated test smells and anti-patterns
05Detection of silent failures, swallowed rejections, and empty catch blocks
0623 GitHub stars
Use Cases
01Refactoring brittle test suites to use real objects instead of fragile mocks
02Generating comprehensive test coverage for new feature implementations
03Standardizing testing practices across a multi-language development team