test oracle怎么翻译

A test oracle is the set of predicted result for a set of tests.(摘自《PROJECT-BASED SOFTWARE ENGINEERING An Object-Oriented Approach》)
      查了些资料,弄不明白这个东西test oracle怎么翻译。把原文简单的翻译一下(呵呵,能力差阿...),留下点资料。
      一个Test Oracle是一套测试的预测结果。它被用来检查真实测试结果的正确性。一种描述测试过程的方法是,我们用相同的测试用例来运行要测试的系统和Test Oracle,然后通过比较它们的结果来决定系统是否运行正确。For Example,the test oracle for adding a Patron object during the check-out-resource functionality must indicate what is displayed on the screen when a patron is successfully added and what is displayed when the patron already exists and is not added. In addition ,the test oracle indicates what will be displayed on the Patron list report after the Patron object is added.The test oracle is necessary for proper evaluation of the success of the test.
      Test Oracles对测试来说非常必要,但是创建它们非常的困难。理想状态下,oracle是自动化方式生成的,但是理想状态是很难达到的。当有可能这么做时,oracle是通过系统需求规格说明来创造的。因此,只有需求规格说明正确的情况下,oracle才会正确。然而,大多数情况下,oracle是通过手工来创造的。人们通过这种方式来创建test oracle经常会出错。如果oracle和真实测试结果中间出现不一致的情况,在我们说有一个错误发生了之前必须确认通过oracle的预测输出。这是一个费时、麻烦以及高代价的过程。

posted on 2006-11-15 23:40  recx  阅读(1242)  评论(0编辑  收藏  举报