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

Offen
#1,263 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
TypeScript
Sterne
481
Forks
45
Ø Merge
1 T. 13 Std.
Gemergte PRs (30 T.)
91

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus ai-driven-dev/framework

Alle Issues in ai-driven-dev/framework

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.