Multi-target test case priority testing method for dynamic web applications
A test case and test method technology, applied in the field of multi-objective test case priority testing for dynamic web applications, can solve problems such as high error detection capability, singleness, etc., to save time and cost, improve detection rate, and enhance error detection capabilities. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
test Embodiment t
[0029] The present invention selects sentence coverage, element coverage and execution cost as three single goals, and the multiple goals referred to in the invention are comprehensive consideration of the three goals of statement coverage, element coverage and cost. The present invention uses the Java language to implement an additional greedy algorithm for sorting test cases. The essence of the algorithm is to select the test case t with the largest fitness function value based on the existing test case set T each time. The fitness function f(t, T) is defined as follows:
[0030] For a single target, the set of elements covered by the selected test case set T is C(T), the set of elements covered by the test case t to be selected is C(t), and the test case t is based on the incremental coverage AC( t, T) refers to the proportion of elements covered by t among all program elements not covered by T. Defining the cost of test case t as Cost(t), then the single-objective fitness fun...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 