Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Test case selection method

A technology of test cases and test case sets, applied in the direction of software testing/debugging, etc., can solve the problems of non-optimization and weak practical significance of testing, and achieve the effect of reducing the number and improving the test efficiency.

Inactive Publication Date: 2011-05-18
HARBIN ENG UNIV
View PDF3 Cites 49 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this patent only simplifies from the perspective of the generated test case set, ignoring the process of generating test case requirements; although the test cases obtained in this patent are simplified, they are not optimized. less meaningful

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
  • Test case selection method
  • Test case selection method
  • Test case selection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be further described in detail with reference to the accompanying drawings and embodiments.

[0040]The invention is a test case selection method, based on test requirement reduction and improved greedy algorithm, describes a complete and efficient test case selection process from test requirement reduction -> test case design -> test sequence generation. In the stage of test case requirements, the reduction is first performed, and then test cases are generated to reduce the redundancy of test cases; in the stage of test case use, the concept of "equivalence class" division is introduced into the greedy algorithm, and the test cases are prioritized Sorting improves test efficiency.

[0041] A test case selection method, the process is as follows figure 1 shown, including the following steps:

[0042] Step 1: Obtain the reduced test requirement set through the original test requirement set;

[0043] For the input original test requirements s...

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 discloses a test case selection method, and belongs to the technical field of software testing. The method comprises the following steps of: 1, acquiring a reduced test requirement set through an original test requirement set; 2, designing test cases; and 3, sequencing the priorities of the test cases. The invention discloses a complete and high-efficiency test case selection process of reducing test requirements, generating the test cases, and generating a test sequence. The number of the generated test cases is greatly reduced on the premise of ensuring that expected test coverage is achieved; meanwhile, the priorities of the test cases are sequenced, so that the method has practical significance for testing large-scale software such as a web application program, and test efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method for selecting test cases in the field of Web application software testing. Background technique [0002] Software testing is a means to improve software quality, and test cases are guidelines to guide testing in the process of software testing. A test case is a description of the test activities related to the test goal executed in a certain order, and determines the "how" of the test. In software testing work, the design of test cases is very important, and it is the basis for the correctness and effectiveness of test execution. How to effectively design test cases has always been a concern of testers. As the scale of software becomes larger and larger, especially when testing application software based on the Web platform, the number of test cases required is very large. Manually completing the generation of test cases requires a lot of time and money, which...

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
IPC IPC(8): G06F11/36
Inventor 李刚刘厂张振兴
Owner HARBIN ENG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products