Research on automatic generation of test data for multi-path coverage

2021 
Software testing is a complex and time-consuming task, especially in the part of test case design. Therefore, test automation can greatly reduce the consumption of manpower and material resources. The main work of this paper is as follows:1This article designs a total path similarity for the target path group of the code from the perspective of multi-path oriented. And relying on this to generate test data that meets multiple target paths at one time, so as to reduce the number of iterations and time spent.2This article is inspired by the fitness function design of genetic algorithm, and designs a fitness evaluation method for multi-path and single-path.3This paper selects the Beetle Antennae Search algorithm from existing intelligent optimization algorithms. Because it does not require too much information, it performs very well in low- dimensional problems, and only needs one longhorn beetle in the search process, which greatly reduces the amount of calculation. And it is applied to the triangle classification problem program, and compared with the traditional genetic algorithm at the same time. The experimental results verify the correctness of the method, and the Beetle Antennae Search algorithm is more efficient than the genetic algorithm.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    1
    References
    0
    Citations
    NaN
    KQI
    []