Loading learning content…
Loading learning content…
Use TDD workflows, generate tests automatically, and maintain 80%+ coverage.
Read through the lesson, mark it complete when the concept is clear, then move to the next lesson in the sequence or jump back to the module map.
Every non-trivial feature should follow Test-Driven Development. Claude Code supports this natively with the /tdd skill and the tdd-guide agent.
The workflow:
Prompt pattern:
"Before implementing the password reset feature, write a comprehensive test suite covering: successful reset, expired token, already-used token, invalid email. Make all tests fail first."
This forces Claude to think through edge cases before writing implementation code.
The ReadyIQ Platform uses:
Run tests:
npm run test # Vitest watch mode
npm run test:coverage # Coverage report
npx playwright test # E2E tests
80% is the minimum. Ask Claude to check coverage after major changes:
"Run the test suite and check coverage. If any module is below 80%, identify the gaps and write tests to fill them."
For every bug fix:
This is the operationalize-fixes workflow — every bug is a class of bugs, not a single instance.