【24h】

On Testing Answer-Set Programs

机译:在测试答案设置程序

获取原文

摘要

Answer-set programming (ASP) is a well-acknowledged paradigm for declarative problem solving, yet comparably little effort has been spent on the investigation of methods to support the development of answer-set programs. In particular, systematic testing of programs, constituting an integral part of conventional software development, has not been discussed for ASP thus far. In this paper, we fill this gap and develop notions enabling the structural testing of answer-set programs, i.e., we address testing based on test cases that are chosen with respect to the internal structure of a given answer-set program. More specifically, we introduce different notions of coverage that measure to what extent a collection of test inputs covers certain important structural components of the program. In particular, we introduce metrics corresponding to path and branch coverage from conventional testing. We also discuss complexity aspects of the considered notions and give strategies how test inputs that yield increasing (up to total) coverage can be automatically generated.
机译:答案集编程(ASP)是一个充分认可的范例,用于解决陈述问题解决,但花费很少的努力在调查支持答案设定计划的发展方面。特别是,尚未讨论迄今为止的ASP的构成传统软件开发的组成部分的程序的系统测试。在本文中,我们填补了这种差距和发展概念,可以实现答案设置程序的结构测试,即,我们通过在给定的答案集程序的内部结构中选择的测试用例来解决测试。更具体地,我们介绍了覆盖范围的不同概念,该覆盖范围是测试输入集合涵盖了该程序的某些重要结构组件的程度。特别是,我们引入与传统测试的路径和分支覆盖相对应的度量。我们还讨论了所考虑的概念的复杂性方面,并提供策略如何自动生成产生增加(最多)覆盖范围的测试输入。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号