A method for prioritizing test cases of upper-level multi-objectives
A technology of prioritization and test cases, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problem of unsatisfactory algorithm performance, poor MOPSO convergence, genetic algorithm selection, crossover, mutation and other complex operations and other problems, to achieve the effect of reducing the test cost, widening the distribution of the solution set, and improving the quality of the solution.
- 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