Receber por email
← Voltar para o catálogo

tdd-enforcer

Use when implementing new features. Enforces TDD workflow - write tests FIRST, then implementation. Ensures AAA pattern, proper coverage, and quality test design.

2estrelas
Atualizado há 4 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add bg-szy/TOP-SKILLS

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/tdd-enforcer-bg-szy/svg)](https://www.skillteca.com.br/skills/tdd-enforcer-bg-szy)

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 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

TDD Workflow Enforcer

When to Use

  • Implementing new features
  • Adding functionality
  • Fixing bugs
  • Refactoring code

TDD Process (MANDATORY)

1. Write Tests FIRST (RED Phase)

  • Define behavior through tests
  • Use AAA pattern (Arrange, Act, Assert)
  • Tests MUST fail initially
  • Clear test names describe expected behavior

2. Verify Tests Fail (Confirmation)

  • Run tests: npm test
  • Confirm failure for the RIGHT reason
  • Test should fail because feature doesn't exist, not becau

[Description truncada. Veja o README completo no GitHub.]

Compartilhar X LinkedIn