Adaptive multi-target test case sorting method based on decomposed weight vector
A technology of test cases and weight vectors, applied in software testing/debugging, genetic rules, genetic models, etc., can solve problems such as high algorithm complexity, unsatisfactory performance, and complicated calculation process of congestion degree, and achieve excellent performance and good distribution sex, multiple selective effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0036] Take the test case priority sorting of the JavaScript unit testing framework Jasmine as an example, combined with the attached figure 1 The specific implementation of the multi-objective test case prioritization method for regression testing proposed by the present invention will be described.
[0037] S1. For the program Jasmine to be tested, use its n=24 test cases as a regression test suite. The Jasmine source program has 95 branches, and the test case set is expressed as Ψ={T 1 ,T 2 ,...,T i ,...,T 24}, where T i (1≤i≤24) is the i-th test case in the test case set, and constructs the branch coverage matrix A 24×95 and effective execution time vector V=(t 1 , t 2 ,...,t i ,...,t 24 ), where t i (i=1, 2, ..., 24) is the effective execution time corresponding to the i-th test case, if the j-th branch is covered during the execution of the i-th test case, then A ij = 1, otherwise A ij = 0;
[0038] S2. Coding: Given a test program and a test case set, numbe...
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