One-click install
npx skills add https://github.com/chavangorakh1999/sde-skills --skill testing-strategy-chavangorakh1999
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-strategy
Source: https://github.com/chavangorakh1999/sde-skills/tree/main/sde-code-quality/skills/testing-strategy
Command: npx skills add https://github.com/chavangorakh1999/sde-skills --skill testing-strategy-chavangorakh1999

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you define and implement an effective testing strategy, ensuring your software is robust, reliable, and maintainable by guiding you on what, how, and how much to test.

Core Features & Use Cases

  • Testing Pyramid Guidance: Understand and apply the optimal ratio of unit, integration, and E2E tests.
  • Test Case Identification: Learn what types of logic and scenarios are best suited for each testing level.
  • Coverage & Mutation Testing: Set meaningful coverage targets and leverage mutation testing to ensure test effectiveness.
  • Use Case: When starting a new feature, use this Skill to determine the best testing approach, ensuring critical paths are covered and development time is spent efficiently on valuable tests.

Quick Start

Use the testing-strategy skill to plan the test suite for the new user authentication module.

Frequently Asked Questions about testing-strategy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the optimal ratio of unit, integration, and E2E tests for a new feature?

An optimal test suite ratio balances unit, integration, and E2E tests based on the testing pyramid and honeycomb models. This strategy guides you in allocating tests to ensure critical paths are covered while spending development time efficiently on valuable, maintainable tests.

How do I determine what logic requires unit tests versus integration tests?

Unit tests are best suited for isolated logic scenarios, while integration tests focus on dependency management. This strategy details best practices for unit test isolation and integration test dependency management to help you identify exactly what to test at each level.

When should I use end-to-end tests in my testing strategy?

End-to-end tests should be reserved for critical user journeys within your application. This strategy guides you in identifying these essential paths so you can implement E2E tests efficiently without unnecessarily slowing down your overall test suite execution.

How do I plan a test suite for a new authentication module?

Planning a test suite for an authentication module involves defining the right mix of unit, integration, and E2E tests. You apply testing pyramid guidance to cover critical security paths and ensure test effectiveness through mutation testing and meaningful coverage targets.

Does this testing strategy work for both new and existing software projects?

This testing strategy works for both new and existing software projects by helping you define and implement an effective testing approach. It ensures your software remains robust, reliable, and maintainable by guiding you on what, how, and how much to test.