...
首页> 外文期刊>Journal of Software Engineering Research and Development >A multi-objective test data generation approach for mutation testing of feature models
【24h】

A multi-objective test data generation approach for mutation testing of feature models

机译:特征模型变异测试的多目标测试数据生成方法

获取原文
           

摘要

Abstract Background Mutation approaches have been recently applied for feature testing of Software Product Lines (SPLs). The idea is to select products, associated to mutation operators that describe possible faults in the Feature Model (FM). In this way, the operators and mutation score can be used to evaluate and generate a test set, that is a set of SPL products to be tested. However, the generation of test sets to kill all the mutants with a reduced, possible minimum, number of products is a complex task. Methods To help in this task, in a previous work, we introduced a multi-objective approach that includes a representation to the problem, search operators, and two objectives related to the number of test cases and dead mutants. The proposed approach was implemented and evaluated with three representative multi-objective and evolutionary algorithms: NSGA-II, SPEA2 and IBEA, and obtained promising results. Now in the present paper we extend such an approach to include a third objective: the pairwise coverage. The goal 4 is to reveal other kind of faults not revealed by mutation testing and to improve the efficacy of the generated test sets. Results Results of new studies are reported, showing that both criteria can be satisfied with a reduced number of products. The approach produces diverse good solutions and different sets of impacting factors can be considered. Conclusions At the end, the tester can either prioritize one objective, by choosing solutions in the extreme points of the fronts or choose solutions with smaller ED values, according to the testing goals and resources.
机译:摘要背景突变技术最近已被用于软件产品线(SPL)的功能测试。想法是选择与突变算子相关的产品,这些产品描述特征模型(FM)中的可能故障。这样,算子和突变评分可用于评估和生成测试集,即一组要测试的SPL产品。但是,要用减少的,可能的最小数量的产物数​​量杀死所有突变体的测试集的生成是一项复杂的任务。方法为了帮助完成此任务,在以前的工作中,我们引入了一种多目标方法,其中包括问题的表示形式,搜索运算符以及与测试用例和无效突变体的数量有关的两个目标。所提出的方法通过三种代表性的多目标和进化算法NSGA-II,SPEA2和IBEA进行了实施和评估,并获得了可喜的结果。现在,在本文中,我们将这种方法扩展为包括第三个目标:成对覆盖。目标4是揭示突变测试未发现的其他类型的故障,并提高生成的测试集的效率。结果报告了新的研究结果,表明减少产品数量可以同时满足两个标准。该方法产生了多种好的解决方案,可以考虑不同的影响因素。结论最终,测试人员可以根据测试目标和资源,通过选择最前沿的解决方案来确定一个目标的优先级,或者选择具有较小ED值的解决方案。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号