What problem does it solve?
This Skill provides a comprehensive guide to writing effective, maintainable, and robust tests, ensuring code quality and reliability across any project.
Core Features & Use Cases
- Universal Testing Principles: Covers language-agnostic concepts like Given-When-Then, test independence, and isolation.
- Decision Trees: Helps determine the appropriate test type (Unit, Integration, Contract) and when to use test doubles.
- Best Practices & Anti-Patterns: Details how to structure tests, handle errors, and avoid common pitfalls.
- Use Case: A developer needs to ensure their new feature is thoroughly tested. They consult this Skill to understand the best practices for writing unit and integration tests, how to structure their test data, and what common mistakes to avoid.
Quick Start
Consult the "What Type of Test Should I Write?" decision tree to determine the best approach for your current testing need.