avoiding-testing-anti-patterns
OfficialWrite robust, reliable tests.
Software Engineering#code quality#testing#debugging#integration testing#unit testing#test anti-patterns
Authorbacchus-labs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers avoid common pitfalls in software testing that lead to brittle, misleading, or ineffective tests, ensuring tests accurately reflect and verify real application behavior.
Core Features & Use Cases
- Prevent Mock Misuse: Guides against testing mock behavior or over-mocking dependencies.
- Ensure Test Completeness: Promotes testing all states (happy path, error, empty) and user-visible behavior, not implementation details.
- Improve Test Robustness: Helps write tests that are resilient to refactoring and accurately catch bugs.
- Use Case: When writing a new test for a UI component, this Skill ensures you're testing what the user sees and interacts with, rather than internal component state or props, making your tests more stable.
Quick Start
Use the avoiding-testing-anti-patterns skill to review a test you are writing to ensure it is not testing mock behavior.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: avoiding-testing-anti-patterns Download link: https://github.com/bacchus-labs/wrangler/archive/main.zip#avoiding-testing-anti-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.