Testing patterns: anti-patterns to avoid, condition-based waiting for async tests
/plugin marketplace add pproenca/dot-claude-old
/plugin install testing@pproenca/dot-claude-old
Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies
Use when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling to wait for actual state changes, eliminating flaky tests from timing guesses
Comprehensive PR review agents specializing in comments, tests, error handling, type design, code quality, and code simplification
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Schema validation, data quality monitoring, streaming validation pipelines, and input validation for backend APIs
Unit and integration test automation for Python and JavaScript with debugging support