tdd-workflow

Enforce test-driven development across unit, integration, and end-to-end testing.

40|8|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/ysyecust/everything-claude-code --skill tdd-workflow-ysyecust
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/ysyecust/everything-claude-code/tree/main/docs/zh-TW/skills/tdd-workflow
Command: npx skills add https://github.com/ysyecust/everything-claude-code --skill tdd-workflow-ysyecust

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures all code development follows test-driven development principles and achieves comprehensive test coverage, guiding teams toward reliable, maintainable software.

Core Features & Use Cases

  • TDD driven development: Always write tests before implementing features, covering unit, integration, and E2E layers.
  • Structured workflows: From planning user journeys to writing tests, executing them, and refactoring with confidence.
  • Quality assurance throughout the cycle: Use Google Test for C++ unit tests, Playwright for E2E, and CI/CD to verify coverage.

Quick Start

  1. Define a user journey as a test case, then implement the minimal code to satisfy it.
  2. Add unit tests for individual functions and utility helpers, followed by integration tests for service boundaries.
  3. Create E2E tests (Playwright) for critical user flows; run tests and measure coverage; refactor as needed.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I enforce test-driven development across unit, integration, and E2E layers?

Enforce test-driven development by writing user journey tests before implementation, adding unit tests for functions, integration tests for service boundaries, and Playwright E2E tests to achieve 80%+ coverage.

What is the best way to structure a TDD workflow for C++20 HPC applications?

A structured TDD workflow for C++20 HPC uses Google Test for unit tests, defines critical flows as test cases first, implements minimal code, and verifies coverage through CI/CD pipelines to ensure maintainable software.

Does this TDD workflow support Playwright for end-to-end web testing?

Yes, this TDD workflow supports Playwright to create and execute end-to-end tests for critical user flows, ensuring comprehensive test coverage and allowing confident refactoring across modern web testing layers.

How do I measure and verify 80%+ test coverage in a CI/CD pipeline?

Measure and verify 80%+ test coverage in a CI/CD pipeline by executing unit, integration, and E2E tests generated through the TDD cycle, ensuring all code development follows test-driven development principles before deployment.

When should I write integration tests versus unit tests in a TDD cycle?

In a TDD cycle, write unit tests for individual functions and utility helpers first, then add integration tests for service boundaries, and finally create E2E tests for critical user flows to ensure complete coverage.

Can I use Google Test for C++ unit testing within this TDD workflow?

Yes, you can use Google Test for C++ unit testing within this TDD workflow, which provides tooling guidance for C++20 HPC workflows to ensure all implementations satisfy test-driven development principles.