Implements robust Jest testing strategies, factory patterns, and TDD workflows for maintainable frontend codebases.
The Testing Patterns skill provides a comprehensive framework for writing high-quality tests in React and React Native environments. It guides users through the Red-Green-Refactor cycle, promotes the use of factory functions for consistent test data, and outlines best practices for mocking modules and GraphQL hooks. By focusing on behavior-driven testing rather than implementation details, this skill helps developers create resilient test suites that reduce regressions and simplify refactoring processes within the Claude Code environment.
주요 기능
010 GitHub stars
02Automated factory functions for props and data
03Standardized Jest mocking strategies
04Best practices for React Testing Library queries
05Comprehensive TDD Red-Green-Refactor guidance
06Custom render utilities for themed components
사용 사례
01Mocking complex API responses and GraphQL hooks
02Refactoring legacy components with reliable test coverage
03Developing new features using Test-Driven Development