본문 바로가기
코딩 · 개발무료 · 원문 전체 공개원문 · prompts.chat

테스트 주도 방식 버그 수정 가이드

테스트를 먼저 작성하여 버그를 재현하고 체계적으로 해결하는 과정을 안내합니다.

원제 · Test-First Bug Fixing Approach

빈칸 채워 쓰기 ↓
분야
코딩 · 개발
추천 툴
어느 AI든(공통)
형식 기준 추천
실행 결과
아직 없음
빈칸
1곳
채워 쓰기 가능
원문
영어 · 약 100단어
제목 · 설명 한국어 번역
개선안
없음
이용 조건
CC0 · 자유 이용
prompts.chat 공개 모음
쓰인 기법
—
프롬프트 원문

출처에 올라온 그대로

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 failure, adjust the code, and re-run—repeat until ALL tests pass. 7) Then grep the codebase for related code paths that might have the same issue and add tests for those too. 8) Summarize every change made and why. Do not ask me questions—make reasonable assumptions and document them.

출처 · prompts.chat 공개 프롬프트 모음 · 작성 Ilker Ulusoy — CC0(저작권 포기)로 공개된 원문을 그대로 싣습니다. 한국어 제목 · 설명은 AI 번역입니다.
내용이 틀렸거나 권리 문제가 있나요?

hotpick 빈칸 채워 쓰기

빈칸만 채우면 바로 쓰는 프롬프트

칸에 적는 대로 아래 프롬프트에 들어갑니다. 비워 둔 칸은 표시된 그대로 남고, 적은 내용은 어디에도 저장하지 않습니다.

빈칸 1곳 가운데 0곳 채움

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 failure, adjust the code, and re-run—repeat until ALL tests pass. 7) Then grep the codebase for related code paths that might have the same issue and add tests for those too. 8) Summarize every change made and why. Do not ask me questions—make reasonable assumptions and document them.

같은 분야 프롬프트코딩 · 개발

더 보기 ›