testing-patterns
CommunityBuild reliable software with a robust testing strategy, rest assured.
Software Engineering#unit tests#testing#tdd#e2e#playwright#react testing library#component tests#go testing
Authorjhouser
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Inconsistent or insufficient testing leads to bugs, regressions, and unreliable software. This skill provides a comprehensive guide to ActionPhase's testing strategy, ensuring developers write effective tests across all layers (unit, component, API, E2E), follow TDD principles, and maintain high code quality.
Core Features & Use Cases
- Testing Pyramid: Explains the hierarchy of tests (unit, API, component, E2E) and their roles.
- TDD Workflow: Guides through the Test-Driven Development process for new features and mandatory regression testing for bug fixes.
- Multi-Language Testing: Covers patterns for Go backend tests, React Testing Library for frontend components, and Playwright for E2E scenarios.
- Use Case: When starting a new feature, use this skill to follow the TDD workflow: write a failing unit test, implement the feature, verify with API and component tests, and only then create an an E2E test, ensuring comprehensive coverage and early bug detection.
Quick Start
Ask for the command to run all backend unit tests without a database.
Dependency Matrix
Required Modules
playwrightreact testing librarygithub.com/stretchr/testify
Components
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: testing-patterns Download link: https://github.com/jhouser/actionphase/archive/main.zip#testing-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.