TDD-разработка с покрытием кода
★ 7.9 · testing
tdd-workflow is a Claude Code skill that enforces test-driven development with a minimum 80% code coverage requirement across unit, integration, and E2E tests. It activates when writing new features, fixing bugs, refactoring code, adding API endpoints, or creating components. The workflow spans seven steps — from authoring user journeys and generating test cases, through implementation and refactoring, to coverage verification — and supports Jest, Vitest, and Bun's native `bun:test` runner, with Playwright handling E2E scenarios. A dedicated Step 0 detects the project's package manager and test runner separately, preventing common failures in ESM-only projects where mixing `bun test` and `bun run test` breaks test execution.
- #test-driven-development
- #unit-tests
- #integration-tests
- #e2e-tests
- #playwright
- #jest
- #vitest