Comprehensive Test Driven Development guide for engineering subagents with multi-framework support, coverage analysis, and intelligent test generation
Install with Tessl CLI
npx tessl i github:alirezarezvani/claude-code-skill-factory --skill tdd-guide47
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
Coverage gap analysis with prioritized recommendations
P0 for critical gap
80%
100%
P1 for moderate gap
75%
100%
80% line threshold applied
100%
100%
Branch coverage checked
100%
100%
70% branch threshold applied
100%
100%
Coverage summary present
100%
100%
P0 listed before P1
100%
100%
Uncovered lines identified
100%
100%
Actionable recommendations
100%
100%
No E2E or performance testing suggested
100%
100%
Summary first
100%
100%
Output file produced
100%
100%
Without context: $0.1947 · 57s · 7 turns · 10 in / 3,508 out tokens
With context: $0.5051 · 2m · 19 turns · 25 in / 7,298 out tokens
Framework-appropriate test generation with AAA structure
Uses pytest
100%
100%
test_ naming convention
100%
100%
Specification-style names
100%
100%
Arrange-Act-Assert sections
0%
100%
Happy path covered
100%
100%
Error conditions tested
100%
100%
Edge cases covered
100%
100%
Behavior focused
100%
100%
Test isolation
100%
100%
Single behavior per test
100%
100%
No E2E or integration approach
100%
100%
Output test file created
100%
100%
Without context: $0.3483 · 1m 20s · 18 turns · 25 in / 5,614 out tokens
With context: $0.7452 · 2m 14s · 28 turns · 34 in / 9,277 out tokens
TDD red-green-refactor workflow with correct framework imports
Uses Jest
0%
0%
describe/it structure
100%
100%
RED phase documented
100%
100%
GREEN phase documented
100%
100%
REFACTOR phase documented
100%
62%
Specification-style test names
100%
100%
Assertions use expect()
100%
100%
Behavior focused tests
100%
100%
Error/edge cases tested
100%
100%
TDD log file created
100%
100%
Test and implementation files
100%
100%
Minimal GREEN implementation
100%
100%
Without context: $0.5299 · 2m 19s · 27 turns · 33 in / 7,965 out tokens
With context: $0.9085 · 3m 29s · 37 turns · 46 in / 9,749 out tokens
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.