Testing & TDD Standards

0•

Enforces Test-Driven Development (TDD) best practices by co-generating unit tests and maintaining clean architectural boundaries.

This skill streamlines the testing workflow within Claude Code by enforcing a rigorous TDD philosophy. It ensures that every new feature or bug fix is accompanied by high-quality test coverage, following the AAA (Arrange, Act, Assert) pattern and prioritizing public interface validation over internal implementation details. By automating the creation of test files for various runners like Vitest, Jest, PHPUnit, and Pytest, it helps developers maintain robust codebases and reliable CI/CD pipelines while preventing regression through standardized mocking and dependency injection strategies.

Key Features

01Standardized mocking strategies via dependency injection
02Implementation-agnostic testing focused on public inputs and outputs
030 GitHub stars
04Multi-runner support including Vitest, Jest, PHPUnit, and Pytest
05Enforcement of the AAA (Arrange, Act, Assert) structural pattern
06Automated co-generation of test files alongside feature code

Use Cases

01Establishing standardized mocking boundaries for databases and HTTP clients
02Refactoring legacy code with guaranteed coverage for public APIs
03Generating comprehensive unit tests automatically while building new features