首页> 外文会议>Logic programming >A Constraint Logic Programming Approach to Automated Testing
【24h】

A Constraint Logic Programming Approach to Automated Testing

机译:一种约束逻辑编程方法,用于自动化测试

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

摘要

In this paper we present a new constraint solver for the automated generation of test cases from specifications. The specification language is inspired by the contract-oriented programming extended with a finite state machines. Beyond the generation of correct argument values for method calls, we generate full test scenarios thanks to the symbolic animation of the specifications. We propose a flexible CSP architecture that can operate not only on integer or bounded domains but also on arbitrary types. An original notion of type builder is used to establish the link between the type semantics and the CSP framework. We illustrate this with a string builder that can automatically generate string instances depending on combinations of constraints.
机译:在本文中,我们提出了一种新的约束求解器,用于根据规范自动生成测试用例。规范语言受有限状态机扩展的面向合同的编程的启发。除了为方法调用生成正确的参数值之外,由于规范的符号动画,我们还生成了完整的测试方案。我们提出了一种灵活的CSP体系结构,该体系结构不仅可以在整数或有界域上运行,而且可以在任意类型上运行。类型生成器的原始概念用于在类型语义和CSP框架之间建立链接。我们用一个字符串生成器来说明这一点,它可以根据约束的组合自动生成字符串实例。

著录项

  • 来源
    《Logic programming 》|2008年|754-758|共5页
  • 会议地点 Udine(IT);Udine(IT)
  • 作者单位

    Laboratoire d'lnfonnatique de Paris 6 UPMC Paris Universitas 104 avenue du President Kennedy 75016 Paris, France;

    Laboratoire d'lnfonnatique de Paris 6 UPMC Paris Universitas 104 avenue du President Kennedy 75016 Paris, France;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 程序设计、软件工程 ;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号