现在的位置: 首页 > 综合 > 正文

编写测试用例的用途

2013年08月21日 ⁄ 综合 ⁄ 共 1281字 ⁄ 字号 评论关闭

·         Organization. Even on small software projects it's possible to have many thousands of test cases. The cases may have been created by several testers over the course of several months or even years. Proper planning will organize them so that all the testers and other project team members can review and use them effectively.

大量的测试需要得到有效的组织和管理。

 

·         Repeatability. As you've learned, it's necessary over the course of a project to run the same tests several times to look for new bugs and to make sure that old ones have been fixed. Without proper planning, it would be impossible to know what test cases were last run and exactly how they were run so that you could repeat the exact tests.

为准确重现旧有的测试,需要恰当地组织和管理好测试用例。

 

·         Tracking. Similarly, you need to answer important questions over the course of a project. How many test cases did you plan to run? How many did you run on the last software release? How many passed and how many failed? Were any test cases skipped? And so on. If no planning went into the test cases, it would be impossible to answer these questions.

为了准确跟踪测试的全过程,需要准备好测试用例,并且组织好测试用例的执行。

 

·         Proof of testing (or not testing). In a few high-risk industries, the software test team must prove that it did indeed run the tests that it planned to run. It could actually be illegal, and dangerous, to release software in which a few test cases were skipped. Proper test case planning and tracking provides a means for proving what was tested.

组织编写测试用例,对测试用例的执行过程进行记录,可以用于证明测试是否进行了。

  

抱歉!评论已关闭.