Skills / Software testing and QA / Writing a great bug report
Software testing and QA, lesson 2 of 8
Writing a great bug report
A developer can only fix a bug they can see for themselves. The best testers write reports that make the bug appear on the first try.
A good bug report contains:
- A clear title saying what is wrong and where: "Checkout: Pay button stays disabled after entering a valid card", not "Payment broken!!"
- Steps to reproduce, numbered and exact, starting from a known point: "1. Sign in as a test user. 2. Add any item to the cart. 3. Go to checkout..."
- Expected result: what should happen
- Actual result: what really happened, including any error message, copied exactly
- Environment: device, operating system, browser and version, app version, and which test account
- Evidence: a screenshot or short screen recording, and console or log errors if you can get them
- Severity: how bad the impact is (a crash or data loss is far more serious than a typo)
Habits that make reports better:
- Reproduce it at least twice before reporting, and note if it happens only sometimes
- Narrow it down: does it happen in another browser? With another account? Every fact you add saves the developer time
- One bug per report, so each can be tracked and closed
- Search first to avoid duplicates
- Stick to facts; never blame anyone
A short report that reproduces the bug is worth more than a long one that does not.
Try it: Find a small bug or annoyance in any app or website you use (a confusing message, a layout problem). Write a full bug report for it using the seven parts above.
The tutor gives hints, not finished answers. Log in to use it.