An upper multi-objective test case priority sorting method
A technology of prioritization and test cases, applied in software testing/debugging, error detection/correction, instruments, etc., can solve complex operations such as poor convergence of MOPSO, unsatisfactory algorithm performance, genetic algorithm selection, crossover, and mutation and other problems, to achieve the effects of reducing test costs, widening the distribution of solution sets, and improving solution quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] Take the test case priority sorting of the JavaScript unit testing framework Jasmine as an example, combined with the attachedfigure 1 The specific implementation manner of a method for prioritizing high-level multi-objective test cases for regression testing proposed by the present invention will be described.
[0028] Step 1: For Jasmine, a program to be tested, use the 24 test cases already designed in the regression test as a test case set for testing. The source program of Jasmine has 95 branches, and record the branch coverage of the program to be tested by the test cases. , to obtain the branch coverage information matrix A of the test case program to be tested; if the test case set is represented by Φ, Φ={T 1 , T 2 ,...,T i ,...,T n}, where T i (1≤i≤n) is the i-th test case in the test case set, the size of the constructed branch coverage information matrix A is 24×95, the range of branch numbers in the program to be tested is 1 to 95, and the range of test c...
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