...
首页> 外文期刊>Software Quality Journal >Test frame updating in CPM testing of Prolog programs
【24h】

Test frame updating in CPM testing of Prolog programs

机译:Prolog程序的CPM测试中的测试框架更新

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Category Partition Method (CPM) is a general approach to specification-based program testing, where test frame reduction and refinement are two important issues. Test frame reduction is necessary since too many test frames may be produced, and test frame refinement is important since during CPM testing new information about test frame generation may be achieved and considered incrementally. Besides the information provided by testers or users, implementation related knowledge offers alternative information for reducing and refining CPM test frames. This paper explores the idea by proposing a call patterns semantics based test frame updating method for Prolog programs, in which a call patterns analysis is used to collect information about the way in which procedures are used in a program. The updated test frames will be represented as constraints. The effect of our test frame updating is two-fold. On one hand, it removes "uncared" data from the original set of test frames; on the other hand, it refines the test frames to which we should pay more attention. The first effect makes the input domain on which a procedure must be tested a subset of the procedure's input domain, and the latter makes testers stand more chance to find out the faults that are more likely to show their presence in the use of the program under consideration. Our test frame updating method preserves the effectiveness of CPM testing with respect to the detection of faults we care. The test case generation from the updated set of test frames is also discussed. In order to show the applicability of our method an approximation call patterns semantics is proposed, and the test frame updating on the semantics is illustrated by an example.
机译:类别划分方法(CPM)是基于规范的程序测试的通用方法,其中测试框架的缩减和完善是两个重要的问题。减少测试框架是必要的,因为可能会产生太多的测试框架,并且测试框架的改进很重要,因为在CPM测试期间,可能会获得并逐步考虑有关测试框架生成的新信息。除了测试人员或用户提供的信息外,与实施相关的知识还提供了用于减少和完善CPM测试框架的替代信息。本文通过为Prolog程序提出一种基于调用模式语义的测试框架更新方法来探索该想法,其中使用调用模式分析来收集有关程序在程序中使用方式的信息。更新的测试框架将表示为约束。测试框架更新的效果是双重的。一方面,它从原始的测试框架集中删除了“无关的”数据。另一方面,它完善了我们应该更多关注的测试框架。第一个效果使必须在其上测试过程的输入域成为该过程输入域的子集,而后者使测试人员有更多的机会找出在使用以下程序时更可能表明其存在的故障。考虑。我们的测试框架更新方法在检测我们关心的故障方面保留了CPM测试的有效性。还讨论了从更新的测试框架集生成测试用例。为了证明我们方法的适用性,提出了一种近似调用模式语义,并以一个实例说明了语义上的测试框架更新。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号