tdd-guide

Generates tests and analyzes LCOV/JSON/XML coverage reports across TypeScript, Python, and Java projects.

Updated Dec 23, 2024
One-click install
npx skills add https://github.com/salamientark/dotfiles --skill tdd-guide-salamientark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-guide
Source: https://github.com/salamientark/dotfiles/tree/main/claude/skills/engineering-team/tdd-guide
Command: npx skills add https://github.com/salamientark/dotfiles --skill tdd-guide-salamientark

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Engineering teams adopting Test Driven Development often struggle to design tests, coordinate across languages, and manage coverage analysis. This skill automates test generation, coverage analysis, and provides workflow guidance to streamline the process across frameworks like Jest, Pytest, and JUnit.

Core Features & Use Cases

  • Generate tests from requirements and user stories for multiple languages and frameworks.
  • Analyze coverage reports (LCOV, JSON, XML) to identify gaps and prioritize fixes.
  • Provide step-by-step TDD workflow guidance (RED/GREEN/REFACTOR) and quality metrics.

Quick Start

Run the TDD Guide skill on a sample project by supplying your requirements and a target framework to generate tests, analyze coverage, and receive workflow guidance.

Frequently Asked Questions about tdd-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate tests from requirements for Jest, Pytest, or JUnit?

Test generation from requirements automates creating unit tests for frameworks like Jest, Pytest, and JUnit. You supply user stories and target framework details to produce initial test suites and fixtures.

How does coverage analysis parse LCOV, JSON, and XML reports?

Coverage analysis parses LCOV, JSON, and XML report formats to identify code gaps. It extracts metrics from these files to pinpoint untested code paths and prioritize fixes.

Does this TDD workflow guidance support TypeScript, Python, and Java projects?

Yes, this TDD workflow guidance supports multi-language projects spanning TypeScript, JavaScript, Python, and Java. It uses framework adapters to integrate testing workflows across these different environments.

What is the step-by-step TDD workflow guidance for RED/GREEN/REFACTOR?

Step-by-step TDD workflow guidance directs the RED/GREEN/REFACTOR cycle. It coaches teams through writing failing tests, implementing code to pass, and refactoring while tracking quality metrics.

Can I use framework adapters to coordinate TDD across multiple languages?

Yes, you can use framework adapters to coordinate TDD across multiple languages. They bridge multi-language environments like TypeScript and Java, enabling unified test design and coverage reporting.

What's the best way to identify coverage gaps and prioritize fixes?

The best way to identify coverage gaps is by analyzing LCOV, JSON, or XML coverage reports. Parsing these formats highlights untested code, allowing teams to systematically prioritize and implement fixes.