`

How to design a bug

 
阅读更多
A software bug is an error, flaw, failure, or fault in a computer program or system that produces an incorrect or unexpected result, or causes it to behave in unintended ways.
How to design a bug?
1. Title - 标题应该保持简洁,准确,提供缺陷的本质信息,记录缺陷或者错误出现的位置,并且便于搜索查询:
Truncated…被删节的
Uncapitalized… 未大写的
Untranslated/Unlocalized… 未翻译的,未本地化的
Malfunction of… 不起作用的
Corrupted… Crash
Duplicated… 重复的
Inconsistent… 不一致的
Invalid/ Incorrect… 不正确的
Misaligned…未对准的,偏离方向的,不再一条线的
Overlapped… 重叠的
Misspelled… 拼错的
Unfriendly… 不友好的
Redundant… 多余的
例如:
Truncated options of the view dropdown in ‘…’ dialog
Unexpected error dialog appears while/after doing sth
Untranslated items in the ‘…’ dropdown of the Address Book
Untranslated work in the ‘…’ after accepting a meeting
Truncated title of ‘…’ window
Misaligned checkbox names in ‘…’ dialog
Misaligned grayed line following the ‘…’ label
Duplicate hotkey ‘…’ in ‘…’dialog
Different icons in ‘…’ dialog between the LOC and ENU build
The tooltip is inconsistent with ‘…’ publication design option
Inconsistent tooltip with ‘…’ publication design option


2. Description(Notes) - 是对缺陷的进一步描述

这个问题在IE7上有,其他浏览器上不能复现|
这是一个regression bug,在之前的版本不会出现|
这个缺陷不是每次都能重|现,尝试了5次,出现了三次



3. Steps(Actions) - 详细的重现步骤

4. Actual Result 和Expected Result - 陈述句
Expected Result一般用虚拟语气,it should be…


5. Priority - When bug should be fixed? Priority is generally set from P1 to P4. P1 as ‘fix the bug with highest priority’ and P4 as ‘Fix when time permits’.
Severity:
This describes the impact of the bug.
Types of Severity:
Blocker: No further testing work can be done.
即系统无法执行、崩溃或严重资源不足、应用模块无法启动或异常退出、无法测试、造成系统不稳定。
严重花屏
内存泄漏
系统崩溃/死机/冻结
模块无法启动或异常退出
功能设计与需求严|重不符
其它导致无法测试的错误, 如服务器500错误

Critical: Application crash, Loss of data.
即影响系统功能或操作,主要功能存在严重缺陷,但不会影响到系统稳定性。
功能未实现
功能错误
系统刷新错误
数据通讯错误
影响功能及界面的错误字或拼写错误
安全性问题

Medium: Medium loss of function.
即界面、性能缺陷、兼容性。
操作界面错误(包括数据窗口内列名定义、含义是否一致)
边界条件下错误
提示信息错误(包括未给出信息、信息提示错误等)
长时间操作无进度提示
系统未优化(性能问题)
光标跳转设置不好,鼠标(光标)定位错误
兼容性问题

Minor: minor loss of function.
即易用性及建议性问题。
界面格式等不规范
辅助说明描述不清楚
操作时未给用户提示
可输入区域和只读区域没有明显的区分标志
个别不影响产品理解的错别字
文字排列不整齐等一些小问题



Attention - 使用‘after’,‘when’或‘during’等连词有助于描述缺陷的原因和结果,例如:Application crashes after inputting any letters in numeric field of ‘User Profile’dialog
Unexpected error occurs when closing application.
避免遇到的错误:
避免使用‘I我’,‘You你’等人称代词。可以直接使用动词或必要时使用‘User’代替
如果想区分平台或者component要在title前面加些备注,比如iOS和Android,在其后面加’-‘, 而不是’_’, iOS –
最好不要用生僻词
Very slow最好不要用,最好要有意义的词
跟谁说了,这个bug就直接assign给谁,不要再让Steven分
‘空格’,尤其是逗号后面,注意要加空格
最好每天早上来要看一眼在自己Queue里的bug,尤其是如果有unresolved的时候,要区分是Dev弄错了流程还是需要QA回复,这种要及时作出反馈,以免耽误解决。
Verify-Fail时需要选Resolution,
分享到:
评论

相关推荐

    Python Unlocked pdf 无水印 0分

    You will also find out how to work with a range of design patterns including abstract factory, singleton, strategy pattern, all of which will help make programming with Python much more efficient....

    How to manage Test Case in TFS

    - **分配给(Assign to)**:默认情况下,将测试案例分配给测试用例设计者。 - **标题(Title)**:提供对测试案例用途的简短描述,通常用于阐明它将在高层级测试哪个子功能。还可以添加前缀来对类似测试案例进行...

    DELPHI7托盘图标控件,230(好用).zip

    Finally, I fixed a bug that caused the taskbar icon not to display itself when MinimizeToTray was true. Thanks to Lorenz Graf for pointing it out to me. - ver. 2.1.4: The main form will no ...

    Senfore_DragDrop_v4.1

    This is believed to be a bug in the Windows clipboard and a work around hasn't been found yet. * Asynchronous targets appears to be broken in the current release. * When TDropFileTarget....

    Sakemail

    Added examples.0.9.2.1b- Fixed a bug when send a mail and the first line disappear (thanks to Arun)- Now, you could do MySMTP.MsgTo := ‘a@doma.com; b@domb.com;c@domc.com‘; the spaces before/after ...

    a project model for the FreeBSD Project.7z

    An example of a process is software design. 2.3. Hat A “hat” is synonymous with role. A hat has certain responsibilities in a process and for the process outcome. The hat executes activities. It ...

    Cracking The Coding Interview 5th Ed (高清版上卷)

    Each section opens with a discussion of the core knowledge and strategies to tackle this type of question, diving into exactly how you break down and solve it. Topics covered include Arrays and ...

    Cracking The Coding Interview 5th Ed (高清版下卷)

    Each section opens with a discussion of the core knowledge and strategies to tackle this type of question, diving into exactly how you break down and solve it. Topics covered include Arrays and ...

    VclZip pro v3.10.1

    IMPORTANT: If installing the registered version, please be sure to always re-install/rebuild the components (VCLZip and VCLUnZip) to the component pallette (or rebuild the design time package) so that...

    Mastering.IOS.Game.Development

    From there on, we discuss how to deploy your game to the iOS App Store, as well as monetizing it to make more revenue. You will also learn advanced techniques to improve your game playing experience,...

    Formal Correctness of Security Protocols

    but the failure to find a bug does not mean that none exist. The Inductive Method described in the present volume takes some ideas from the Oxford group, such as their message primitives, and applies ...

    Software.Testing.2nd.Edition (Sams)软件测试(英文版)

    What Is a Bug? Why Do Bugs Occur? The Cost of Bugs What Exactly Does a Software Tester Do? What Makes a Good Software Tester? Summary Quiz Chapter 2. The Software Development Process ...

    Get Programming with F#

    Learn how to write bug-free programs Turn tedious common tasks into quick and easy ones Use minimal code to work with JSON, CSV, XML, and HTML data Integrate F# with your existing C# and VB.NET ...

    Android SampleNetworking

    What happens when I find a bug in the parsing code or perhaps a new node is added to the XML? We’d have to go through all the different places and make change. By having a single point for parsing ...

    3D Math Primer for graphics and game development

    There are many books out there that promise to teach you how to make a game or put cool pictures up on the screen, so why should you read this particular book? This book offers several unique ...

    Cross-platform development in C++

    * Determining when and when not to use native IDEs and how to limit their impact on portability * Leveraging standards-based APIs, including POSIX and STL * Avoiding hidden portability pitfalls ...

    Velocity Suite 1.2.3

    [Verson 1.2.2 Contains a minor bug fix in Color Coding.] [Verson 1.2.1 Contains updated support URL (velocity.gilluminate.com) and email (petethechop@gmail.com) information.] [Verson 1.2.0 added ...

Global site tag (gtag.js) - Google Analytics