testing-strategies

Installation
Summary

Comprehensive testing strategy design covering unit, integration, E2E testing, and TDD practices.

  • Implements test pyramid structure with recommended ratios: 70% unit tests, 20% integration, 10% E2E tests
  • Provides Given-When-Then patterns for unit testing, mocking strategies for external dependencies, and API endpoint testing examples
  • Includes E2E testing guidance using Playwright for complete user flow validation and TDD red-green-refactor cycle methodology
  • Covers CI/CD integration, test isolation requirements, and best practices including AAA pattern, deterministic tests, and edge case handling
SKILL.md

Testing Strategies

When to use this skill

  • New project: define a testing strategy
  • Quality issues: bugs happen frequently
  • Before refactoring: build a safety net
  • CI/CD setup: automated tests

Instructions

Step 1: Understand the Test Pyramid

       /\
      /E2E\          ← few (slow, expensive)
     /______\
Related skills

More from supercent-io/skills-template

Installs
11.2K
GitHub Stars
88
First Seen
Jan 24, 2026