Testing Anti-Patterns
About
This skill helps developers avoid common testing anti-patterns by enforcing three core rules: never test mock behavior, never add test-only methods to production classes, and always understand dependencies before mocking. Use it when writing tests, adding mocks, or when tempted to modify production code for testing purposes. It ensures tests verify real behavior rather than mock implementations, following strict TDD principles.
Quick Install
Claude Code
Recommendednpx skills add BbgnsurfTech/claude-skills-collection -a claude-code/plugin add https://github.com/BbgnsurfTech/claude-skills-collectiongit clone https://github.com/BbgnsurfTech/claude-skills-collection.git ~/.claude/skills/Testing Anti-PatternsCopy and paste this command in Claude Code to install this skill
GitHub Repository
Frequently asked questions
What is the Testing Anti-Patterns skill?
Testing Anti-Patterns is a Claude Skill by BbgnsurfTech. Skills package instructions and resources that Claude loads on demand, so Claude can perform Testing Anti-Patterns-related tasks without extra prompting.
How do I install Testing Anti-Patterns?
Use the install commands on this page: add Testing Anti-Patterns to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does Testing Anti-Patterns belong to?
Testing Anti-Patterns is in the Testing category, tagged testing.
Is Testing Anti-Patterns free to use?
Yes. Testing Anti-Patterns is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
Related Skills
This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.
This skill provides comprehensive knowledge for implementing Cloudflare Cron Triggers to schedule Workers using cron expressions. It covers setting up periodic tasks, maintenance jobs, and automated workflows while handling common issues like invalid cron expressions and timezone problems. Developers can use it for configuring scheduled handlers, testing cron triggers, and integrating with Workflows and Green Compute.
This Claude Skill provides a Playwright-based toolkit for testing local web applications through Python scripts. It enables frontend verification, UI debugging, screenshot capture, and log viewing while managing server lifecycles. Use it for browser automation tasks but run scripts directly rather than reading their source code to avoid context pollution.
This skill helps developers complete finished work by verifying tests pass and then presenting structured integration options. It guides the workflow for merging, creating PRs, or cleaning up branches after implementation is done. Use it when your code is ready and tested to systematically finalize the development process.
