首页> 外文会议>International symposium on search-based software engineering >A Search-Based Approach to Generate MC/DC Test Data for OCL Constraints
【24h】

A Search-Based Approach to Generate MC/DC Test Data for OCL Constraints

机译:基于搜索的方法来生成MC / DC测试数据的OCL约束

获取原文

摘要

Automated generation of test data is an important and challenging activity in Model-based Testing. This typically requires solving of constraints, written in Object Constraint Language (OCL), specified on models in order to obtain solutions that can be used as test data. Test data generation techniques in the literature discuss various coverage criteria for test generation to achieve a sufficient level of coverage. One of the recommended criteria is modified condition/decision coverage (MC/DC) that is a requirement of different safety standards, such as DO-178C. In this paper, we propose a search-based strategy that utilizes case-based reasoning (CBR) to reuse the already generated test data and generate new test data that provides MC/DC coverage of OCL constraints. To evaluate the performance of the proposed approach in solving MC/DC constraints, we perform an empirical evaluation using AVM without CBR, AVM with CBR, and use Random Search (RS) as a baseline for comparison. We use 84 OCL constraints from four case studies belonging to different domains with varying size and complexity. The experimental results show that our proposed strategy of reusing already generated test data is better as compared to generating test data without using previous test data.
机译:自动生成测试数据是基于模型的测试中的重要和具有挑战性的活动。这通常需要解决以对象约束语言(OCL)编写的约束,以便获得可以用作测试数据的解决方案。测试数据生成技术在文献中讨论了测试生成的各种覆盖标准,以实现足够的覆盖率。建议标准之一是修改条件/决策覆盖范围(MC / DC),这是不同安全标准的要求,例如DO-178C。在本文中,我们提出了一种基于搜索的策略,该策略利用基于案例的推理(CBR)来重用已经生成的测试数据并生成提供了OCL约束的MC / DC覆盖率的新测试数据。为了评估求解MC / DC约束的提出方法的性能,我们使用具有CBR的AVM进行实证评估,AVM具有CBR,并使用随机搜索(RS)作为基线进行比较。我们使用属于不同域的四个案例研究使用84个OCL约束,其具有不同尺寸和复杂性的不同域。实验结果表明,与在不使用先前的测试数据的情况下,我们所提出的重用测试数据的重用策略更好。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号