Skip to content
Back to skills

Test Strategy

ASecurity

Choose the right tests for a change, write diagnostic failures, handle legacy code and flaky suites, and report coverage gaps honestly.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
security

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Eliahhango/nullbyte-security --skill test-strategy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Strategy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Strategy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/eliahhango-test-strategy/badge)](https://www.skillsdirectory.com/skills/eliahhango-test-strategy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test-strategy
description: Choose the right tests for a change, write diagnostic failures, handle legacy code and flaky suites, and report coverage gaps honestly.
---

# Test strategy: prove behaviour at the cheapest useful layer

- Test observable behaviour and contracts, not private structure. A test that breaks on every refactor without catching a behaviour change is a maintenance tax.
- Choose the cheapest layer that gives confidence: a pure unit test for logic, an integration test for a boundary, end-to-end only for a small number of critical journeys.
- For a bug, write the failing test first. For legacy code, add characterization tests around the current behaviour before changing it.
- Cover the edges that matter: empty, invalid, unauthorized, duplicate, timeout, partial failure and retry. One test per behaviour, not one per line.
- Make failures diagnostic: assert the important value and include the input in the failure. Avoid sleeps, shared mutable state and dependence on execution order.
- Treat a flaky test as a defect. Quarantine, reproduce and fix the source; do not retry until green.
- Report coverage gaps honestly. A high percentage does not prove the risky paths were tested.

---

_NullByte skill pack. Original guidance for this tool; no third-party skill text is bundled._

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.