Publication | Closed Access
Automated Test Case Generation Based on Differential Evolution With Relationship Matrix for iFogSim Toolkit
41
Citations
35
References
2018
Year
EngineeringTest Data GenerationSoftware EngineeringSoftware AnalysisIfogsim ToolkitComputational TestingFog ComputingTest AutomationSystems EngineeringModeling And SimulationRelationship MatrixCombinatorial OptimizationSearch-based Software EngineeringDifferential EvolutionComputer EngineeringComputer ScienceSoftware DesignEvolutionary ProgrammingMutation-based TestingProgram AnalysisEdge ComputingSoftware TestingCloud ComputingTest Case DesignTest EvolutionTest CasesLess Test CasesData Modeling
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.
| Year | Citations | |
|---|---|---|
Page 1
Page 1