什么样的软件测试用例是好的软件测试用例

发表于:2009-03-06来源:作者:点击数: 标签:软件测试什么样
Here is a checklist for having well-documented,effective and useful test cases: 以下是一个如何设计文档化、高效、有用 测试用例 的检查表(checklist) 质量属性 ·Accurate: tests what the descrīption says it will test. 正确性:确保测试标题描述
Here is a checklist for having well-documented,effective and useful test cases:

以下是一个如何设计文档化、高效、有用测试用例的检查表(checklist)

质量属性

·                       Aclearcase/" target="_blank" >ccurate: tests what the descrīption says it will test.

      正确性:确保测试标题描述部分的内容正确性。

   Economical: has only the steps needed for its purpose.

     经济性:只为确定需要的目的设计相应的测试步骤。

   Repeatable, self standing: same results no matter who tests it.

  可重复性:自我一致性,即不管谁执行此用例,结果一样。

 Appropriate: for both immediate and future testers.51Testing软件测试网

·                       适应性:既能适应短期需要,又能考虑长远需要。

·                       Traceable: to a requirement.

·                       可追踪性:用例能追踪到一个具体的需求

·                       Self cleaning: returns the test environment to clean state.

·                       自我清理性:单个用例不会影响整个测试环境,即用例执行完了可以恢复原有的测                                                      

试环境。

Structure and testability

结构化和可测试性

        Has a name and number

·                       含有规范的测试标题和编号。

·                       Has a stated purpose that includes what requirement is being tested

        含有一个确定的测试某一个特定需求的目的。

   Has a descrīption of the method of testing

·                       含有关于测试方法的描述。

  Specifies setup information - environment, data, prerequisite tests, security access

指定条件信息-环境、数据、预置的条件测试、安全入口等。

原文转自:http://www.ltesting.net