Writing Effective Defect Reports

上一篇 / 下一篇  2008-11-02 22:50:23 / 个人分类:Bug

Author

Kelly Whitmill

Kelly Whitmill has over 18 years experience in software testing. Most of that time his role has been that of a team lead with responsibility for finding and implementing effective methods and tools to accomplish the required tests. He is particularly interested in practical approaches that can be effective in environments with limited resources. He has a strong interest in test automation. He has worked in both small and large company environments. He has worked on PC-based, Unix-based, and Mainframe-based projects. He currently works for the IBM Printing Systems Division in Boulder, Colorado.

Introduction

Effective defect reports will:

  • Reduce the number of defects returned from development
  • Improve the speed of getting defect fixes
  • Improve the credibility of test
  • Enhance teamwork between test and development

Defect Remarks

Here are some key points to make sure the next defect report you write is an effective one.
1. Condense - Say it clearly but briefly
2. Accurate - Is it a defect or could it be user error, misunderstanding, etc.?
3. Neutralize - Just the facts. No zingers. No humor. No emotion.
4. Precise - Explicitly, what is the problem?
5. Isolate - What has been done to isolate the problem?
6. Generalize - What has been done to understand how general the problem is?
7. Re-create - What are the essentials in triggering/re-creating this problem? (environment, steps,
conditions)
8. Impact - What is the impact to the customer? What is the impact to test? Sell the defect.
9. Debug - What does development need to make it easier to debug? (traces, dumps, logs,
immediate access, etc.)
10. Evidence - What documentation will prove the existence of the error?

Condense:

Say it clearly but briefly. First, eliminate unnecessary wordiness. Second, don’t add in extraneous information.

 Condense Example

Defect Remark 

Don’t:
Suffers from TMI (Too Much Information), most
of which is not helpful.

I was setting up a test whose real intent was to
detect memory errors. In the process I noticed a
new GUI field that I was not familiar with. I
decided to exercise the new field. I tried many
boundary and error conditions that worked just
fine. Finally, I cleared the field of any data and attempted to advance to the next screen, then the
program abended. Several retries revealed that
anytime there is not any data for the "product
descrīption" field you cannot advance to the next
screen or even exit or cancel without abending.
 Do:The "exit", "next", and "cancel" functions for the
"Product Information" screen abends when the
"product descrīption" field is empty or blank.

Accurate

Make sure that what you are reporting is really a bug.Before
writing up the problem consider:

  • Is there something in the setup that could have caused this? For example, are the correct versions installed and all dependencies met? Did you use the correct login, security, command/task sequence and so fourth?
  • Could an incomplete cleanup, incomplete results, or manual interventions from a previous test cause this?
  • Could this be the result of a network or some other environmental problem?
  • Do you really understand how this is supposed to work?

“it is a sin to over report, but it is a crime to under report.”

 

If you want to know more detailed, please download it from my files.


TAG: Bug Report Defect

 

评分:0

我来说两句

日历

« 2024-04-24  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 21344
  • 日志数: 14
  • 文件数: 1
  • 书签数: 8
  • 建立时间: 2008-11-01
  • 更新时间: 2009-02-25

RSS订阅

Open Toolbar