Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Inactive Publication Date: 2016-05-04
NANJING UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, academic research in recent years has pointed out that the goal of single element coverage does not necessarily guarantee high error detection capabilities, especially in applications based on dynamic web technologies

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-target test case priority testing method for dynamic web applications
  • Multi-target test case priority testing method for dynamic web applications
  • Multi-target test case priority testing method for dynamic web applications

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for testing multiple target test case priorities facing dynamic Web application. The multiple target test case priority technology based on element coverage and statement coverage is adopted in a regression test, sequencing on the test case priorities based on the dynamic Web application is carried out through multiple targets, and test cases with high priorities can be preferentially executed. According to the method, on the premise that no test case is reduced, execution sequences of the test cases are sorted again, and therefore on one hand, the error detection capacity of a test case set is not influenced, and on the other hand, the error detection rate is improved, a programmer can find out more errors as early as possible, and time cost for the programmer to find out the errors is saved.

Description

Technical field [0001] The present invention belongs to the technical field of software testing in computer technology, especially the technical field of regression testing in software testing. It is used in a distribution-based test case priority technology, and the execution order of test cases is prioritized according to the distribution of execution profiles in the profile space. Level sorting is a test case set optimization technology, specifically a priority testing method for multi-objective test cases for dynamic Web applications. Background technique [0002] For industrial programs, the test case set usually contains thousands or even more test cases. Executing all test cases is expensive, and this situation is especially obvious for regression testing: as the program continues to evolve, the number of test cases continues to increase; under limited resource constraints, it is difficult to re-execute each test case. [0003] The test case prioritization technology aims t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 陈振宇邹云潇房春荣高则宝
Owner NANJING UNIV