Back To Blogs

How to Write a Good Bug Report (Template and Examples)

Finding a bug is half the job. The other half is describing it so clearly that a developer can reproduce it on the first try, understand why it matters, and fix the right thing. A great bug report saves hours; a vague one gets marked "cannot reproduce" and the bug ships.

The anatomy of a good bug report

1. Title: what's wrong, where

The title should say what is wrong and where, in one line.

  • ❌ "Checkout broken"
  • ❌ "Bug in cart!!!"
  • ✅ "Cart total still includes an item after it is removed"
  • ✅ "Booking form accepts dates in the past"

A useful pattern is [Where] [what happens] [when/under what condition].

2. Steps to reproduce

Numbered, concrete and complete. Assume the reader has never seen the feature.

  1. Sign in as a standard user
  2. Add "Ceramic mug" ($12.00) and "T-shirt" ($25.00) to the cart
  3. Open the cart
  4. Remove the T-shirt

Include the exact data you used. "Enter an invalid email" is weaker than "Enter john@ in the email field".

3. Expected result

What should happen, according to the requirement, the design or common sense:

The cart total updates to $12.00.

4. Actual result

What did happen, with values:

The cart total still shows $37.00. The T-shirt line is gone, but its price is still counted.

Expected and actual must differ in something specific. If they read almost the same, the developer can't tell what you're reporting.

5. Environment

  • Browser and version (Chrome 141, Safari 18)
  • Device and viewport (iPhone 15, 390×844; desktop 1440×900)
  • Environment (staging, production) and build or version
  • Account type or role, if it matters

For layout bugs, the viewport size is often the whole story.

6. Severity (and, if your team uses it, priority)

  • Severity = impact: how badly it hurts users or the business
  • Priority = urgency: how soon it should be fixed

A wrong order total is high severity. A typo on the homepage may be low severity but high priority before a launch. More in severity vs priority.

7. Evidence

Screenshots with the problem highlighted, a short screen recording, console errors, and the failing network request (status code and response body). Evidence turns "I believe you" into "I can see it".

Copy-paste template

**Title:** [Where] [what happens] [when]

**Steps to reproduce**
1.
2.
3.

**Expected result**

**Actual result**

**Environment**
- Browser / version:
- Device / viewport:
- Environment / build:
- Account / role:

**Severity:** Low | Medium | High | Critical
**Evidence:** screenshot / video / console / network
**Notes:** frequency (always / 3 of 5 tries), workarounds, related tickets

Before and after

Before:

Title: Coupon issue Steps: use a coupon Expected: works Actual: doesn't work

After:

Title: The same coupon code can be applied twice, doubling the discount

Steps:

  1. Add any product over $20 to the cart
  2. Apply coupon WELCOME10; the total drops by 10%
  3. Enter WELCOME10 again and apply it

Expected: A message says the coupon is already applied, and the discount stays at 10%. Actual: The coupon is accepted again and the total drops by a further 10% (20% off in all). Environment: Chrome 141, macOS, 1440×900, production build 2.4.1 Severity: High (direct revenue loss)

The second report can be reproduced in under a minute, and its impact is obvious.

Mistakes that get bug reports bounced

  • Several bugs in one report. One report, one problem. Link related ones instead.
  • Opinions instead of observations. "The page is terrible" says nothing; "the Submit button is hidden behind the cookie banner at 375px wide" does.
  • Missing preconditions. If it only happens with an empty cart, a first-time user or a slow network, say so.
  • No frequency. "Happens 2 times out of 5" tells the developer it's intermittent, and maybe timing-related.
  • Guessing at the cause. You can add a hypothesis in Notes, but report what you observed first.

Practise until it's automatic

Writing reports well is a habit. In QAUnlocked Practice Labs every report you file is scored on reproduction steps, expected vs actual, severity and evidence, so you get feedback on the writing as well as on whether you found the bug. It's the fastest way we know to turn "it's broken" into reports developers love.

bug reportsmanual testingcommunicationtemplates

Comments

0 Comments

Be the first to comment.