Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

This question already has an answer here:

In my career, I have used a variety of issue tracking systems to post bugs. I have written a small article on what should be present ideally in a bug post (http://shantonusarker.blogspot.com/2012/09/a-good-bug-report.html). But my question is

  1. What is the minimum information that you think you must have in a ideal bug post
  2. How many more types of information can be added to bug posts that are mentioned in that article.

Basically, what you are doing in bug posting in your company? If you explain in a brief way, I can make a summary of my findings.

Thanks in advance

share|improve this question
    
Depends on your environment, there can be some general guidelines but no 'ideal' one. We use Trello but that's probably not what Boeing use... –  Phil Kirkham Jun 3 '13 at 15:35
    
Shantonu, you should look at sqa.stackexchange.com/questions/1920/… - it's a duplicate of your question and the answers cover everything you want. –  Kate Paulk Jun 3 '13 at 16:50
add comment

marked as duplicate by dzieciou, Kate Paulk, Sam Woods, user246, corsiKa Jun 7 '13 at 17:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

Issue Reports (Bug Reports) are one of the main communication methods that QAers use. You are creating a statement to your stakeholders - "I have found what I think is a problem, and here's my clear explanation of what it is and how you can see it too. Please look into this".

Understand the Audience for the Report

It's important to know who is going to read your Issue Reports, and what they are expected to do with them.

For some shops, the only readers will be yourself and one or more developers. If that's true, you can use all sorts of jargon and abbreviations that you each understand.

But in many shops, there will be lots of stakeholders who need to read what you write - other QAers, Developers, Support, Product Management, Documentation, Management, etc. It may become more important to use less jargon, and add more details.

There are a few special cases that must be kept in mind as well.

For example, if offshore testers or developers must read your Issue Reports, you'll need to pay special attention not to use confusing jargon or colloquialisms in your writing.

If customers will eventually read your Issue Reports, you'll need to be very, very careful in choosing your words. (By the way, this is not something I'd recommend, without first sending the Issue Reports to a skilled writer for "sanitizing" first.) You may even be better off having two different descriptions of the bug - one for internal consumption, and one for customers.

Choose a Good Summary/Title

Since the one-line Summary or Title is often what prompts someone to decide to read your Issue Report further, and is often the only piece of information about the bug showing up on summary reports, it's important to put some thought into this field.

The title should be short (because it may become truncated) and to-the-point. It's tempting to cut corners and write just a few words here "Program x crashed" - but clearly that's not useful.

Also, you don't need to include text here that is already included in other fields of the bug tracking system. For most systems, items such as severity/priority, product, component, etc are tracked in their own fields. No use wasting valuable space in the Summary/Title on these.

Describe the problem concisely and effectively

In a paragraph or two, describe the problem. Here you can use more words than the Summary/Title will allow, but still avoid wordiness.

Include Steps to Reproduce the Problem you are Seeing

Not every bug is fully reproducible. But, it's important to try to find out a relatively minimal set of steps to reproduce the problem and to note them in the Issue Report. This gives the developer a fighting chance of seeing what you are seeing, and actually getting it fixed quickly.

Avoid steps that don't matter - those which have nothing to do with reproducing the bug. Including too many steps can waste time and lead to confusion.

Include all steps which actually seem to matter. Write them in a clear style, in a manner which avoids guesswork.

It takes a bit longer to narrow down the steps, but it's usually time well spent.

If the bug is not fully reproducible, indicate that clearly in the issue report.

Include the Results you Expected

Often, QAers know what is expected out of a sequence of steps better than Developers.

Sometimes, their expectations are right, sometimes they are wrong. Either way, include what you expected to see.

Include the Results you Actually Observed

Since this is an Issue Report, we assume that something unexpected occurred. Note what actually occurred.

If you observed an error message, include that.

If you observed something significant in a log file, include that portion of the log.

Include Enough Details for Searching

Try to think like a Support person, or a Manager, or a new QAer who wasn't familiar with this Issue. What would you search for if you saw these same symptoms happen? If you are lucky enough to have a defect tracking system that includes full-text searching, then make sure to include these important keywords somewhere in the text of your Issue Reports.

If your defect tracking system has a "keywords" field, put them in there.

Explain the Effects on the Customer

Somewhere along the line, your Issue Report will be analyzed for Priority and/or Severity.

If you explain the effects of this problem on the customer, you'll have a better chance that the Issue is properly analyzed. And if the problem makes further testing impossible, make sure to indicate that fact (in this context, you are a customer, too).

Attach Anything Else that Could Help

Attach anything that could help clarify and/or debug the problem.

As they say "a picture is worth 1000 words". So, often attaching a picture of the problem can be very helpful. Log files, test files, etc, can also be attached if they will help reproduce or debug the problem.

Think about whether something is better off being attached (in order to avoid an overly-wordy Issue Report), or included within the body of the Report itself (in order to be useful during a search).

Avoid speculation

Report the facts - what you saw, what you expected to see, and any other symptoms. But in general, avoid speculation as to the root cause of the problem, unless you have sufficient facts to back up your speculation.

Speculation can send the reviewer on a wild goose chase and waste their time. It can also make this bug report appear as a search result for cases where it's not relevent.

Be careful of the tone of your report

Don't use a negative tone in your writing. Remember, your job is to describe the bug so that it can be fixed effectively and efficiently. There's no benefit in criticizing the developer here, or the designer - you are their partners, you are both on the same side. Be objective and respectful.

Avoid duplication - search first

You don't want to waste people's time reading issue reports that have already been covered by someone else. And in some shops, you may be penalized for writing such bug reports. So, search first, using the kinds of keywords that you would write into your report if needed.

If the problem has already been written into an issue report, it's sometimes useful to add additional facts if you have them.

from: http://www.allthingsquality.com/2010/04/writing-issue-reports-that-work.html

share|improve this answer
    
Thanks...there I find some new points. –  Shantonu Jun 3 '13 at 22:34
    
You are quite welcome, Shantonu! –  Joe Strazzere Jun 4 '13 at 11:09
add comment

I have seen your page. You have provided really good information. The minimum components that should be there in the bug report are as follows :

Issue (Bug) Components

  • Summary (Short one line statement of what's wrong exactly)
  • Priority (Assign priority from P0(Severe) to P5(Low effect))
  • Fix Version (Commit ID for the commited code if you have)
  • Environment (Staging / Production)
  • Description (Step by step description of reproducing the issue)

The following are helpful and should be included as appropriate:

  • Screen shots (along with valid names)
  • Screen recordings (using tools like CamStudio, ALLCapture)
  • Net Activity Logs (Logs form Net Panel i.e. Firebug)

Thanks.

share|improve this answer
    
Several of those fields I don't use so I don't think this counts as a minimum. We use a Trello board and put bugs on there, works fantastic for us –  Phil Kirkham Jun 3 '13 at 15:33
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.