Module 1. Software testing fundamentals · Lesson 6 of 41 · 10 min

Bugs: the life cycle and the bug report

What a defect is, severity vs. priority, bug statuses and how to write a bug report.

Bug life cycleNewOpenIn ProgressFixedRetestClosedReopened — not fixedor Rejected / Duplicate / Deferred
Bug life cycle. New → Open → In Progress → Fixed → Retest → Closed; not fixed — Reopened.

Error, defect, failure

A developer makes an error (mistake) → a defect appears in the code → at runtime it causes a failure the user sees.

Severity and priority

  • Severity — how badly something is broken: Blocker, Critical, Major, Minor, Trivial.
  • Priority — how soon it should be fixed from the business point of view: Highest … Low.

A typo in the brand name on the home page is Trivial / High. A crash in a rarely used admin report is Critical / Medium.

The bug life cycle

New → Open → In Progress → Fixed → Retest → Closed, with the branches Reopened (not fixed), Rejected (not a bug), Duplicate and Deferred (postponed).

The bug report

  1. Title: [Where] What happens — under which conditions
  2. Steps to reproduce
  3. Expected and actual result
  4. Environment and version
  5. Reproducibility
  6. Attachments: screenshot, video, log

Check your own report with the bug report template and checker.

How it works in QA Tools

The project bug tracker uses exactly this model: statuses Open → In Progress → Fixed → Retest → Closed plus Reopened, Rejected, Duplicate and Deferred; fields for Severity (Blocker…Trivial), Priority (Highest…Low), environment, version, steps, expected and actual result, screenshots and comments. You can file a bug straight from a test case during a run. Open, In Progress, Fixed, Retest and Reopened count as open — a risk for the release.

Key takeaways

  • Severity is technical impact; priority is business urgency.
  • A retest either closes the bug or sends it back as Reopened.
  • A good bug report reproduces on the first try with no follow-up questions.

Check yourself

  1. 1. The company logo on the home page has a typo in the name. Severity / priority?

  2. 2. After the fix the bug still reproduces. Which status?

  3. 3. What must the bug title contain?

Practice: Drill: severity or priority