Automatic test case generation method based on double-chaos whale optimization algorithm
A technology for automatic generation and test cases, applied in software testing/debugging, computing, computing models, etc., can solve problems such as meta-heuristic algorithms falling into local optimal solutions, so as to improve generation efficiency, increase convergence speed, and evenly distribute particles Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0036] Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail:
[0037] The experiment selected as figure 1 The triangle classification program shown as an example verifies that figure 2 The entire process of automatic generation of test cases shown includes the following steps:
[0038] Experimental environment configuration: windows10 operating system, matlabR2018b, C language, lcov1.13.
[0039] Input: population size NP, maximum number of iterations Maxgen, population dimension k, initial population position S={S i |i=1, 2, . . . NP}.
[0040] Output: test case set A.
[0041] Step 1: Obtain the program under test, the number of input parameters of the triangle classification program k=3, respectively (a, b, c), and convert the program under test into image 3 The control flow shown.
[0042] Step 2: Program instrumentation refers to using the gcc compiler to perform instrumentation and compilation...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com