首页> 外文期刊>ACM transactions on software engineering and methodology >Practical Constraint Solving for Generating System Test Data
【24h】

Practical Constraint Solving for Generating System Test Data

机译:生成系统测试数据的实用约束解决方案

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

摘要

The ability to generate test data is often a necessary prerequisite for automated software testing. For the generated data to be fit for their intended purpose, the data usually have to satisfy various logical constraints. When testing is performed at a system level, these constraints tend to be complex and are typically captured in expressive formalisms based on first-order logic. Motivated by improving the feasibility and scalability of data generation for system testing, we present a novel approach, whereby we employ a combination of metaheuristic search and Satisfiability Modulo Theories (SMT) for constraint solving. Our approach delegates constraint solving tasks to metaheuristic search and SMT in such a way as to take advantage of the complementary strengths of the two techniques. We ground our work on test data models specified in UML, with OCL used as the constraint language. We present tool support and an evaluation of our approach over three industrial case studies. The results indicate that, for complex system test data generation problems, our approach presents substantial benefits over the state-of-the-art in terms of applicability and scalability.
机译:生成测试数据的能力通常是自动化软件测试的必要先决条件。为了使生成的数据适合其预期目的,数据通常必须满足各种逻辑约束。在系统级别执行测试时,这些约束往往很复杂,通常会基于一阶逻辑以表达形式的形式捕获。通过提高用于系统测试的数据生成的可行性和可扩展性,我们提出了一种新颖的方法,在此方法中,我们将元启发式搜索和可满足性模理论(SMT)相结合来进行约束求解。我们的方法将约束求解任务委托给元启发式搜索和SMT,以便利用两种技术的互补优势。我们的工作基于UML中指定的测试数据模型,其中OCL用作约束语言。我们在三个行业案例研究中提供工具支持和对我们方法的评估。结果表明,对于复杂的系统测试数据生成问题,在适用性和可伸缩性方面,我们的方法相对于最新技术具有明显的优势。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号