Software test case multi-population evolution generation method based on variant grouping
A technology for software testing and mutation testing, applied in software testing/debugging, genetic laws, genetic models, etc., to solve problems such as low efficiency in generating test cases
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0070] Such as figure 1 As shown, it is a general flow chart of a method for generating multi-population evolution of software test cases based on variant grouping proposed by the present invention. The method includes:
[0071] Step S1: Group variants based on the same input variables
[0072] S1.1 Design fitness function
[0073] Let the program under test be G, implement mutations on the sentences it contains, and obtain the variant set as M={M 1 , M 2 ,...,M n}, n is the number of variants. The variants transformed by these variants are inserted into G to obtain a new tested program G'. Let the input vector of the program be X=(x 1 ,x 2 ,...,x m ), m is the number of program input variables. The input domain D(X) is the cross product of each input variable domain, that is, D(X)=D(x 1 )×D(x 2 )×…×D(x m ).
[0074] remember f i (X) is the objective function, which reflects whether the input vector X of the program can cover the mutant, that is, whether to kill...
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