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.