Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Test Strategy Plugin

Test planning and strategy methodologies for quality assurance planning before development begins. This plugin provides structured approaches for comprehensive test strategy creation, test case design, and quality planning.

Installation

/plugin install test-strategy@claude-code-plugins

Skills

Skill Description
test-strategy-planning Create comprehensive test strategy documents (IEEE 829 structure)
test-pyramid-design Design optimal test pyramid with unit/integration/E2E ratios
test-case-design Apply systematic techniques (equivalence partitioning, boundary value, decision tables)
acceptance-criteria-authoring Write Given-When-Then acceptance criteria following INVEST principles
test-data-strategy Plan test data management, synthetic data, anonymization
performance-test-planning Design load profiles, capacity planning, performance budgets
security-test-planning Plan penetration testing, OWASP testing, security coverage
automation-strategy Analyze automation ROI, select automation candidates
contract-test-design Design API contracts and consumer-driven testing

User-Invocable Skills

Skill Description
/test-strategy:create-strategy Create a comprehensive test strategy document (IEEE 829)
/test-strategy:analyze-pyramid Analyze test pyramid health and distribution
/test-strategy:generate-cases Generate test cases using systematic techniques
/test-strategy:write-acceptance Write acceptance criteria in Given-When-Then format
/test-strategy:plan-data Create test data management strategy
/test-strategy:analyze-automation-roi Analyze ROI for test automation candidates

Agents

Agent Description
test-strategist Creates comprehensive test strategies for projects
test-case-generator Generates systematic test cases from requirements
coverage-analyzer Analyzes test coverage gaps and recommendations

Use Cases

Starting a New Project

# Create comprehensive test strategy
/test-strategy:create-strategy e-commerce platform with payments and user auth

# Analyze current test pyramid
/test-strategy:analyze-pyramid tests/

# Plan test data management
/test-strategy:plan-data healthcare system with HIPAA requirements

User Story Testing

# Write acceptance criteria
/test-strategy:write-acceptance "As a customer, I want to checkout with saved payment"

# Generate test cases
/test-strategy:generate-cases "Age validation: accept ages 18-65"

Automation Planning

# Analyze automation ROI for test inventory
/test-strategy:analyze-automation-roi docs/test-cases/

Methodology Coverage

Test Strategy Documents (IEEE 829)

  • Test plan structure
  • Test design specifications
  • Test case specifications
  • Test procedure specifications
  • Test logs and reports

Test Pyramid (Mike Cohn)

  • Unit tests (70%)
  • Integration tests (20%)
  • E2E/UI tests (10%)
  • Ratio optimization by architecture
  • Anti-pattern detection (ice cream cone, hourglass)

Test Case Design Techniques

  • Equivalence Partitioning: Divide inputs into equivalent classes
  • Boundary Value Analysis: Test at and around boundaries
  • Decision Tables: Systematic combination testing
  • State Transition Testing: State machine coverage
  • Pairwise/Combinatorial: Efficient combination coverage
  • Error Guessing: Experience-based techniques

Acceptance Criteria

  • Given-When-Then format (Gherkin)
  • INVEST principles for stories
  • Acceptance test automation readiness
  • Edge case coverage

Test Data Management

  • Synthetic data generation
  • Data anonymization/masking
  • Test data versioning
  • Environment-specific data
  • Data privacy compliance

Performance Testing Strategy

  • Load profiles and scenarios
  • Capacity planning
  • Performance budgets
  • Baseline establishment
  • Bottleneck identification

Security Testing Strategy

  • OWASP Testing Guide coverage
  • Penetration test scoping
  • SAST/DAST integration
  • Vulnerability management
  • Compliance requirements

Automation Strategy

  • Automation pyramid alignment
  • ROI calculation
  • Maintenance cost estimation
  • Tool selection criteria
  • Framework architecture

Contract Testing

  • Consumer-driven contracts
  • Provider verification
  • Schema evolution
  • Breaking change detection
  • Pact/contract testing tools

Integration with Other Plugins

  • spec-driven-development: Specifications feed acceptance criteria
  • requirements-elicitation: Requirements drive test coverage
  • security: Security requirements drive security testing
  • systems-design: Architecture drives test pyramid design

.NET/C# Examples

This plugin provides examples using:

  • xUnit for unit testing
  • NUnit for integration testing
  • SpecFlow for BDD
  • NBomber for load testing
  • Playwright for E2E
  • Verify for snapshot testing

License

MIT - see LICENSE