Receber por email
← Voltar para o catálogo

test-driven-development

Test-first development methodology. Use when implementing features where correctness is critical: business logic, data transformations, API contracts, complex algorithms. NOT needed for simple UI tweaks, config changes, or exploratory prototyping. Triggers on "TDD", "test first", "테스트 먼저".

2estrelas
Atualizado há 4 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add Dannykkh/skill-olympus

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/test-driven-development-dannykkh/svg)](https://www.skillteca.com.br/skills/test-driven-development-dannykkh)

Alerta por categoria

Receba novas skills de Design e Frontend toda segunda

1 email curto, só com as skills novas de Design e Frontend. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Test-Driven Development (TDD)

Overview

Write the test first. Watch it fail. Write minimal code to pass.

Core principle: If you didn't watch the test fail, you don't know if it tests the right thing.

Violating the letter of the rules is violating the spirit of the rules.

Step 0: 테스트 프레임워크 자동 감지

TDD 시작 전 프로젝트의 테스트 환경을 감지합니다:

# 프레임워크 감지
_TEST_CMD=""
[ -f "package.json" ] && grep -q "vitest" package.json && _TEST_CMD="npx vitest run"
[ -f "package.json" ] && grep -q "j

[Description truncada. Veja o README completo no GitHub.]
Compartilhar X LinkedIn