feat(aidd-craft): drive a behavior test-first, one test at a time

Aperta
#1,263 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

The issue defines the behavior for the tdd workflow, but does not name implementation files or tests. Start by locating the tdd entry point and its existing tests, then trace how it receives behavior criteria and controls test and code changes. Done means the workflow follows each acceptance criterion, including handing back when criteria are missing or too technical.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Epic: #1259

Story

As a developer
I want tdd to show the ordered test list before the first test, then advance one test at a time, asking before going red and before going green
So that the design emerges under my control

Acceptance

  • Input is a behavior with verifiable acceptance criteria, from a story, a plan phase, a spec or a defect; without criteria, tdd hands back.
  • Criteria must describe business behavior: criteria naming HTTP, SQL, a UI or another technical detail are handed back. Tests target the use case entry point, not the delivery mechanism.
  • The test list goes from the most specific case to the most general, each test named after its final rule.
  • One failing test at a time; a compile or import error does not count as red.
  • Green writes only what the current test requires, clean on the first pass; refactoring is optional and deep only.
  • A red test leads to a code change, never to editing the test until it passes.
Lingua principale
TypeScript
Stelle
481
Fork
45
Merge medio
1g 13h
PR unite (30g)
91

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ai-driven-dev/framework

Tutte le issue di ai-driven-dev/framework

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.