test-strategy

Design software testing strategies with test types, levels, and coverage targets.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/brunolimaff-jpg/NOVO-APP --skill test-strategy-brunolimaff-jpg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-strategy
Source: https://github.com/brunolimaff-jpg/NOVO-APP/tree/main/.agents/skills/archive/2026-04-curation/test-strategy
Command: npx skills add https://github.com/brunolimaff-jpg/NOVO-APP --skill test-strategy-brunolimaff-jpg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you avoid expensive, brittle test suites by choosing the right mix of test types and coverage strategy for your specific system.

Core Features & Use Cases

  • Test pyramid / testing trophy guidance: Decide how much to rely on static, unit, integration, contract, and e2e tests based on ROI and maintenance cost.
  • Level selection and decision matrix: Choose unit vs integration vs e2e (and when to use contract testing) for realistic scenarios like APIs, databases, and UI flows.
  • Quality metrics beyond coverage: Use signals like mutation score, test failure rate, and time-to-red to improve test value.
  • Flaky test remediation workflow: Quarantine, diagnose root cause (time/race/state/external calls), fix, and re-introduce with monitoring.

Quick Start

Ask: "Create a testing trophy for my new REST API with Postgres, define what to unit vs integrate vs use e2e for, and propose a coverage and flakiness strategy."

Frequently Asked Questions about test-strategy

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

FAQPage Schema
How do I decide between unit, integration, and e2e tests for my API?

A testing trophy strategy balances fast feedback with maintenance cost by distributing static, unit, integration, contract, and e2e tests based on ROI. It guides level selection for APIs and databases, ensuring measurable quality signals while mitigating flaky tests through systematic quarantine and diagnosis.

What is contract testing and when should I use it between services?

Contract testing verifies interactions between services without heavy e2e suites by checking API expectations independently. Use it when integrating multiple services to replace brittle end-to-end flows, reducing maintenance overhead while ensuring integration points remain stable and functional across deployments.

How do I fix flaky tests in my CI pipeline?

Fix flaky tests using a systematic remediation protocol: quarantine the failing test, diagnose root causes like timing races or external state calls, apply the fix, and re-introduce with monitoring. This mitigates flakiness while maintaining reliable quality signals such as mutation score and failure rate.

What is mutation testing and how does it improve test quality?

Mutation testing measures test suite effectiveness by injecting code defects and verifying failure detection. It improves quality beyond line coverage by providing measurable signals like mutation score and time-to-red, validating that unit and integration tests actually catch logical errors.

Can I use TDD and BDD workflows with a testing trophy strategy?

Yes, TDD and BDD workflows integrate with testing trophy or pyramid strategies. The strategy defines appropriate test types, coverage targets, and level selection for unit versus integration tests, while TDD/BDD workflows drive the development process, together optimizing fast feedback and low maintenance cost.