首页> 外文期刊>Industrial Informatics, IEEE Transactions on >Automated Test Case Generation Based on Differential Evolution With Relationship Matrix for iFogSim Toolkit
【24h】

Automated Test Case Generation Based on Differential Evolution With Relationship Matrix for iFogSim Toolkit

机译:基于差异演化和关系矩阵的iFogSim工具箱自动生成测试用例

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

摘要

Fog computing plays an important role in industrial and information process. The programs in fog computing, such as iFogSim toolkit, usually contain some infeasible paths (paths that cannot be covered), which makes it impossible to compare algorithm in models that require covering all paths. In this paper, we proposed a mathematical model to build automated test case generation based on path coverage (ATCG-PC) in fog computing programs as a single-objective problem. Single objective helps to reduce the cost of evaluation functions, which is proportional to the number of test cases. When infeasible paths are contained in tested programs, algorithms can also be compared in this model. In this paper, classical differential evolution (DE) is used to solve the ATCG-PC. However, it is difficult for DE to use generated test cases covering remaining paths in the ATCG-PC of fog computing. Therefore, we proposed a test-case-path relationship matrix to empower DE (RP-DE). Experiment results show that RP-DE uses significantly less test cases and achieves higher path coverage rate than compared state-of-the-art algorithms.
机译:雾计算在工业和信息过程中起着重要作用。雾计算程序(例如iFogSim工具包)通常包含一些不可行的路径(无法覆盖的路径),这使得无法在需要覆盖所有路径的模型中比较算法。在本文中,我们提出了一个数学模型,以在雾计算程序中将基于路径覆盖(ATCG-PC)的自动化测试用例生成构建为一个单目标问题。单一目标有助于降低评估功能的成本,该成本与测试用例的数量成正比。当测试程序中包含不可行的路径时,也可以在此模型中比较算法。在本文中,经典的差分进化(DE)被用来解决ATCG-PC。但是,DE很难使用生成的测试用例来覆盖雾计算的ATCG-PC中的剩余路径。因此,我们提出了一个测试用例-路径关系矩阵来增强DE(RP-DE)的能力。实验结果表明,与先进的算法相比,RP-DE使用的测试案例少得多,并且路径覆盖率更高。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号