# Test Driven Development

> Designs tests in {{project.paths.tests}} before implementation

- Skill: `viewway/test-driven-development` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add viewway/test-driven-development`
- Raw SKILL.md: https://api.skillmd.com/api/skills/viewway/test-driven-development/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: viewway (https://skillmd.com/u/viewway)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/viewway/test-driven-development

---

# Test Driven Development

## 概述

Designs tests in {{project.paths.tests}} before implementation

## 能力维度

### Unit Tests

<!-- Add dimension-specific guidance here -->

### Integration Tests

<!-- Add dimension-specific guidance here -->

### Coverage Goals

<!-- Add dimension-specific guidance here -->

## 工具支持

- **{{project.standards.pytest or 'pytest'}}**: <!-- Add tool description -->
- **coverage**: <!-- Add tool description -->

## 约束条件

- must_block_on_test_failure

## 能力等级

### Level 1

Writes unit tests for core logic

### Level 2

Covers edge cases and negative paths

### Level 3

Designs executable specifications and fixtures


