Bug report tốt giúp người khác tái hiện lỗi nhanh. Nó cần expected, actual, steps, environment.
Mục tiêu
- Viết bug report có cấu trúc
- Dùng past tense cho observed behavior
- Dùng expected/actual đúng
Template
textTitle: Environment: Steps to reproduce: Expected result: Actual result: Impact: Evidence:
Ví dụ:
textTitle: Guest checkout fails when phone number is empty Environment: Staging Steps to reproduce: 1. Open checkout as a guest user. 2. Leave the phone number field empty. 3. Submit the order. Expected result: The order should be submitted successfully. Actual result: The API returns a 400 validation error.
Useful verbs
textreturn, fail, occur, reproduce, affect, block
Bài tập nhanh
Viết bug report cho lỗi login trả về 500 trên staging.