Diskussion

Test-First Bug Fix Workflow

Von Wikiprompt, der freien Prompt-Enzyklopädie

Ilker Ulusoy
Beigetragen vonIlker UlusoyQuelle

21. Feb. 2026

Test-First Bug Fix Workflow A structured prompt for debugging with a test-first methodology, guiding the AI to reproduce, fix, and verify bugs while documenting changes.

Prompt-InhaltSpeichern

Dieser Prompt ist auf Englisch - er funktioniert mit allen KI-Modellen.

I have a bug: ${bug}. Take a test-first approach: 1) Read the relevant source files and existing tests. 2) Write a failing test that reproduces the exact bug. 3) Run the test suite to confirm it fails. 4) Implement the minimal fix. 5) Re-run the full test suite. 6) If any test fails, analyze the fai...

Melde dich an, um den vollständigen Prompt zu sehen

Anmelden um fortzufahren

Verwendung

Dieser Prompt ist für die Verwendung mit coding gedacht. Kopiere den Inhalt oben und füge ihn in dein bevorzugtes KI-Tool ein.

Für beste Ergebnisse passe die Platzhalter (eckige Klammern oder Großbuchstaben) an deine Anforderungen an.

Referenzen

Kategorien:coding| prompts.chat| test-first| debugging

Diskussion