Skip to content
Back to skills

Test Design And Regression Coverage

ASecurity

Use when adding or expanding tests, or fixing a bug that needs a regression test. Design a test matrix and write deterministic, behaviour-focused tests.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 23, 2026
ai-agents

Security analysis

A100/100

Scanned November 23, 2026

npx -y skills add Kushagrabainsla/north --skill test-design-and-regression-coverage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Design And Regression Coverage?

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

Security grade badge for Test Design And Regression Coverage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kushagrabainsla-test-design-and-regression-coverage/badge)](https://www.skillsdirectory.com/skills/kushagrabainsla-test-design-and-regression-coverage)

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-design-and-regression-coverage
description: "Use when adding or expanding tests, or fixing a bug that needs a regression test. Design a test matrix and write deterministic, behaviour-focused tests."
---
# Test design and regression coverage

> **When fixing a bug, write the failing test first; ship no fix a test does not lock in.**

## Use this when
- You are adding tests, expanding coverage, or a bug fix needs a regression test.

## Do NOT use for
- Non-test code changes (production logic).

## Procedure
1. Build a test matrix: normal case, empty input, boundary value, invalid/None input, and the prior-bug/regression row.
2. For a bug fix, write the regression test FIRST and watch it fail, then fix.
3. Assert on observable behaviour, not implementation detail.
4. Keep tests deterministic: no real clock, network, or order dependence; control randomness.
5. One concept per test; mock only true external boundaries, never the code under test.
6. Implement only the matrix rows this change actually needs.

## Done when
- The new/failing behaviour is covered, tests are deterministic, and they fail if the behaviour regresses.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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