|
本帖最后由 Geiler 于 2013-9-2 20:32 编辑
Software Bug:A formal Definition
Calling any and all software problems bugs may sound simple enough(听起来光叫bug就够了),but doing so(这样做) hasn't really(真正、准确) addressed(定位) the issue(问题).Now the word problem needs to be difined("问题"这个词需要重新被定义).To keep from(避免) running in circular(重复) definitions,there needs to be a difinitive(确定的) description(描述) of waht a bug is.
First.you need a supproting(辅助) term(术语):product specification.A product specification,sometimes referred to(称为) as simply as(像..一样简单,referred to as simply as连起来可翻译成:简称) a spec or product spec, is an agreement among the software development team.It defines the product they are creating,detailing(详细定义) what it will be,how it will act,what it will do,and what it won't do.This agreement can range(在这范围内) in form from(以XX形式)from a simple verbal understanding,an email,or a scribble (潦草的)on a napkin,to a highly detailed,formalized(正式的) written document.In another chapter,you will learn more about software specifications and the development process,but for now,this definition is sufficient(足够).
Here's the deal:
A software bug occurs(出现) when one or more of the following five rules(规则) is true:
1.The software doesn't do something that the product specification says it should do.
2.The software does something that the product specification says it shoudln't do.
3.The software does something that the product specification doesn't mention.
4.The software doesn't do something that the product specification doesn't mention but should.
5.The software is difficult to understand,hard to use,slow,or in software tester's eyes-will be viewed by the end user as just plain not right.
This definition of a bug covers(覆盖) a lot of ground(背景、情况) but using all five of its rules will help you identify the different types of problems in the software you're testing.
Please keep in mind that five points.请牢记这五点即可。会背也不错哦。
PS:大家已经看到了,我只是把有关生词的解释列出来,简单的都没有做中文提示,其实是希望大家尽量培养英文的语感来自己了解意思,坚持一字一句读下去,比看完一句英文然后靠中文翻译来理解语句效果要好得多。 |
|