Enforces language-agnostic testing standards including TDD, test design patterns, and quality metrics to ensure robust and maintainable software.
The Standard Testing Principles skill provides a comprehensive framework for writing high-quality tests across any programming language or framework. It guides the development process using the Red-Green-Refactor TDD cycle, implements the Arrange-Act-Assert (AAA) pattern, and maintains a healthy test pyramid structure. By establishing clear guidelines for unit, integration, and end-to-end testing, alongside strict standards for test isolation and mocking, this skill helps developers build reliable test suites that provide fast feedback and act as living documentation for their codebase.
주요 기능
01Standardized Arrange-Act-Assert (AAA) test structure
02Test Pyramid guidance for unit, integration, and E2E tests
033 GitHub stars
04Quality metrics and 80% code coverage standards
05Best practices for mocking and test doubles
06Red-Green-Refactor TDD workflow implementation
사용 사례
01Writing new automated tests for any programming language
02Reviewing test suites to identify and eliminate flaky tests
03Refactoring legacy code with characterization tests