Lifetime access is $57 through 30 November.
Skillsh
Skillsh
Toggle sidebar
Login Get access · $57

Testing

//Intermediate

Test-Driven Development

Enforces a strict red-green-refactor loop: write one failing test that describes the behaviour, confirm it fails for the right reason, write the minimal code to pass, then refactor with the suite green. Use when implementing a feature, fixing a bug, or changing behaviour in any codebase with a test runner, and whenever the user mentions TDD, tests first or regression tests.

Free
Featured
Preview
# Test-Driven Development

No production code without a failing test that demands it. This skill keeps coding agents honest: small steps, tests that prove behaviour, and a green suite at every commit.

## When to use

- Implementing any new behaviour or fixing
Related skills
Add to a chain