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.
相关阅读:
- 测试点 (爱水水, 2008-9-04)
- 需求点&测试用例 (爱水水, 2008-9-04)
- Linux下安装bugzilla测试工具 (chinewwen, 2008-9-10)
- Report for Sep 2009 (flyfly310, 2008-9-17)
- Yiwu weather (amandaiec, 2008-9-17)
- Bug管理的一般流程 (wangLoveR, 2008-9-21)
- STi的一个bug? (travelinrain, 2008-10-15)
- OK,have a software testing blog (柠檬的味道, 2008-10-15)
- Bug生命周期 (testhome, 2008-10-18)
收藏
举报
TAG:
Bug
Report
Defect