testing

A set of software-testing rules and guidance covering unit, integration, documentation, and end-to-end tests. TDD means writing tests as part of the development process, often before the code they check.

In plain words
What is it for?
Use it to plan test structure, add or review different test types, define coverage requirements, organize test files, and improve test execution.
Why use it?
It gives projects a consistent way to organize tests, name test files, check coverage, and handle issues such as flaky or poorly isolated tests.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/zircote-plugins/sdlc-quality/testing
Any agent
npx skills add zircote-plugins/sdlc-quality --skill testing
Clone the repo
git clone --depth 1 https://github.com/zircote-plugins/sdlc-quality

Made for: Claude Code, Codex.

Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,354 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00068 $0.01354
Opus 5 $0.00034 $0.00677
Sonnet 5 $0.00014 $0.00271
Haiku 4.5 $0.00007 $0.00135

Measured 2d ago against content hash 77796845e16d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/testing/SKILL.md · 204 lines

How it starts

The opening of the file, as written. The whole thing — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Testing Standards

Guidance for implementing comprehensive testing that meets SDLC requirements.

Tooling

Available Tools: If using Claude Code, the pr-review-toolkit:pr-test-analyzer agent reviews test coverage and identifies gaps. Use after creating PRs to ensure adequate test coverage.

Test Organization

Required Test Categories (MUST)

Projects MUST maintain these test categories:

Category Location Purpose
Unit tests Alongside source code Test individual functions/methods
Integration tests Dedicated test directory Test component interactions
Documentation tests Within doc comments Verify examples work
End-to-end tests Dedicated e2e directory Test full system behavior

Naming Convention (MUST)

Test files MUST be clearly identifiable by naming convention:

Language Unit Tests Integration Tests
Rust mod tests in source tests/ directory
TypeScript *.test.ts, *.spec.ts tests/integration/
Python test_*.py, *_test.py tests/integration/
Java *Test.java *IntegrationTest.java
Go *_test.go *_integration_test.go

Test Coverage

Coverage Requirements

Requirement Level
New functionality MUST include tests
Bug fixes MUST include regression tests
Coverage measurement MUST be tracked
Minimum coverage SHOULD target 80%
Critical paths MUST have 95%+ coverage
Coverage reports MUST be uploaded to tracking service

Read the full file on GitHub · 204 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 204 lines · 68 tokens per session scan A 77796845e16d

Subscribe to this mod's changes

testing is a skill published in the GitHub repository zircote-plugins/sdlc-quality (10 stars, last pushed 29d ago), licensed MIT. It adds 68 tokens to every session and 1,354 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.