Test layering, execution, and CI guidance across unit, integration, and e2e. Use when designing tests, writing test cases, or planning test strategy for a module.
81
Quality
72%
Does it follow best practices?
Impact
97%
1.64xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./data/skills-md/0xbigboss/claude-code/testing-best-practices/SKILL.mdUnit test strategy and output format
Test Strategy section
0%
100%
Test Matrix section
16%
100%
Implementation Plan section
33%
100%
Case ID scheme
10%
100%
Happy path cases
12%
100%
Boundary value cases
12%
100%
Error cases
75%
100%
Edge cases
25%
100%
Property-based tests
0%
100%
Parameterized / data-driven
87%
100%
All four functions covered
100%
100%
No fabricated signatures
90%
100%
Without context: $0.2156 · 1m 5s · 8 turns · 13 in / 4,389 out tokens
With context: $0.5000 · 1m 55s · 19 turns · 26 in / 7,488 out tokens
Integration and e2e test design
API envelope coverage
75%
87%
Error contract testing
100%
100%
Auth and scoping tests
100%
100%
Eventual consistency: poll not sleep
100%
100%
Reuse auth state
87%
100%
E2E: no mocks
87%
100%
E2E: state-tolerant
20%
100%
E2E: idempotent
12%
100%
E2E: happy path only
100%
100%
Flow-oriented e2e
100%
100%
Correct output sections
100%
100%
Case ID scheme
50%
100%
Without context: $0.2569 · 1m 27s · 11 turns · 18 in / 4,956 out tokens
With context: $0.4448 · 2m 3s · 19 turns · 24 in / 6,750 out tokens
CI pipeline structure and async test patterns
Fast PR lane: unit + lint + typecheck
100%
100%
Fast PR lane: critical integration subset
57%
100%
Fast PR lane: under 5 minutes
100%
100%
Nightly lane: full suite
37%
100%
Nightly lane: property-based tests
0%
100%
Nightly lane: idempotency verification
0%
0%
Nightly lane: flake detection
57%
100%
No fixed sleep in refactored tests
100%
100%
Bounded polling with timeout
100%
100%
Flake classification process
37%
100%
Single retry policy
28%
100%
No weakened assertions
100%
100%
Diagnostics on retry failure
37%
100%
Without context: $0.4067 · 2m 14s · 18 turns · 25 in / 7,458 out tokens
With context: $0.4947 · 2m 28s · 20 turns · 138 in / 7,637 out tokens
5342bca
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.