tdd

Generates Gaphic-driven Gaphic tests for Python and Java projects.

Updated Jan 17, 2026
One-click install
npx skills add https://github.com/inakam/dotfiles-raspberry --skill tdd-inakam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd
Source: https://github.com/inakam/dotfiles-raspberry/tree/main/dot_claude/skills/tdd
Command: npx skills add https://github.com/inakam/dotfiles-raspberry --skill tdd-inakam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

TDD with table-driven tests reduces regressions and clarifies requirements by forcing developers to specify behavior as executable tests before implementation, making small iterations predictable and maintainable.

Core Features & Use Cases

  • Enforces the Red-Green-Refactor cycle for incremental development.
  • Uses table-driven test patterns to cover multiple input scenarios compactly.
  • Encourages Japanese test case names and inclusion of boundary and error cases for clear communication in bilingual teams.
  • Useful for implementing small functions, library utilities, and deterministic business logic in Go and Python projects.

Quick Start

Create a table-driven test with Japanese case names that covers positive, negative, and boundary cases, write the minimal implementation to pass the failing tests, then refactor the code while keeping all tests green.

Frequently Asked Questions about tdd

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

FAQPage Schema
How do I write table-driven tests for Go and Python unit testing?

Table-driven tests compactly cover multiple input scenarios by iterating over a defined data structure of cases to execute assertions. This approach enforces the Red-Green-Refactor cycle for incremental development.

What is the test-driven development cycle for small code units?

The test-driven development cycle follows the Red-Green-Refactor pattern: generate failing table-driven tests first, implement minimal code to satisfy assertions, then refactor while keeping all tests green for predictable iterations.

Can I use Japanese test case names in Python and Go unit tests?

Yes, you can use Japanese test case names in Python and Go unit tests to clarify requirements and improve communication in bilingual teams by specifying behavior as executable tests before implementation.

Does test-driven development with table-driven tests cover boundary and error cases?

Test-driven development with table-driven tests explicitly includes boundary and error cases alongside positive scenarios. This reduces regressions by forcing developers to specify expected behavior comprehensively before writing minimal code.

When should I use table-driven tests for deterministic business logic?

Use table-driven tests for deterministic business logic, small functions, and library utilities in Go and Python projects. This makes small iterations predictable and maintainable by covering multiple input scenarios compactly.

Why write failing tests first before implementing code?

Writing failing tests first clarifies requirements by forcing developers to specify behavior as executable tests before implementation. This reduces regressions and ensures minimal code satisfies the exact assertions needed.