You want to be sure that you are able to reproduce your bug. 그래야만 테스트를 먼저 작성하여 실제로 버그 수정을 시작할 수 있습니다. Same goes with a new feature first an integration test that checks the behavior of your feature, and only then begin to implement.