askill
testing-strategies

testing-strategiesSafety 95Repository

This skill should be used for test coverage, test pyramid, unit/integration/E2E test design, TDD, BDD, mocking strategies, test doubles, test architecture

6 stars
1.2k downloads
Updated 3/28/2026

Package Files

Loading files...
SKILL.md

Testing Strategies

Comprehensive test design for deployment readiness.

Test Pyramid

    /  E2E  \       Few, slow, expensive
   /  Integ  \      Some, medium
  /   Unit    \     Many, fast, cheap

Coverage Guidelines

LevelCoverageFocus
Unit80%+Business logic
IntegrationKey pathsAPIs, DB
E2ECritical flowsUser journeys

Unit Test Patterns

  • Test one thing per test
  • Clear arrange/act/assert
  • Mock external dependencies
  • Fast execution (<1s each)

Integration Test Patterns

  • Test real dependencies
  • Use test databases
  • Clean up after tests
  • Cover API contracts

E2E Test Patterns

  • Critical user journeys only
  • Stable selectors
  • Retry flaky network calls
  • Parallel where possible

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

55/100Analyzed 3/30/2026

A reference-style testing strategy guide with good visual structure (pyramid diagram, table) and organized patterns, but limited depth. While it covers unit, integration, and E2E testing basics, it omits TDD/BDD specifics and mocking strategies mentioned in the description. Lacks a trigger section and concrete examples, making it more of a reminder than a comprehensive implementation guide. Highly reusable due to language-agnostic content.

95
70
65
45
40

Metadata

Licenseunknown
Version-
Updated3/28/2026
PublisherZate

Tags

apitesting