Loading...
Loading...
Test-driven development workflow with test generation, coverage analysis, and multi-framework support
npx skill4agent add alirezarezvani/claude-skills tdd-guide| Capability | Description |
|---|---|
| Test Generation | Convert requirements or code into test cases with proper structure |
| Coverage Analysis | Parse LCOV/JSON/XML reports, identify gaps, prioritize fixes |
| TDD Workflow | Guide red-green-refactor cycles with validation |
| Framework Adapters | Generate tests for Jest, Pytest, JUnit, Vitest, Mocha |
| Quality Scoring | Assess test isolation, assertions, naming, detect test smells |
| Fixture Generation | Create realistic test data, mocks, and factories |
test_generator.pynpm test -- --coveragecoverage_analyzer.pytdd_workflow.py --phase redtdd_workflow.py --phase green| Tool | Purpose | Usage |
|---|---|---|
| Generate test cases from code/requirements | |
| Parse and analyze coverage reports | |
| Guide red-green-refactor cycles | |
| Convert tests between frameworks | |
| Generate test data and mocks | |
| Calculate test quality metrics | |
| Detect language and framework | |
| Format output for CLI/desktop/CI | |
| Scope | Details |
|---|---|
| Unit test focus | Integration and E2E tests require different patterns |
| Static analysis | Cannot execute tests or measure runtime behavior |
| Language support | Best for TypeScript, JavaScript, Python, Java |
| Report formats | LCOV, JSON, XML only; other formats need conversion |
| Generated tests | Provide scaffolding; require human review for complex logic |