Method and device for generating a combined test case, storage medium and computer equipment

A combined test and test case set technology, applied in storage medium, combined test case generation method and device, computer equipment field, can solve the problems of missing strong correlation parameters, uncertain mutual relationship, etc.

Active Publication Date: 2019-06-18
ZHEJIANG KOUBEI NETWORK TECH CO LTD
View PDF8 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a method and device, a storage medium, and a computer device for generating combined test cases. Tests will miss combined test cases with strongly correlated parameters, and for the large number of dependencies and complex parameter relationships between software, combined tests that ignore constraints will generate a large number of invalid test cases.

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
  • Method and device for generating a combined test case, storage medium and computer equipment
  • Method and device for generating a combined test case, storage medium and computer equipment
  • Method and device for generating a combined test case, storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0052] The embodiment of the present invention provides a method for generating a combined test case, such as figure 1 As shown, the method includes:

[0053] 101. Establish a combined test case model according to constraint conditions and parameter correlations.

[0054] In the embodiment of the present invention, the combined test case model is defined and expressed according to the four-tuple set including parameters, values, c...

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 method and a device for generating a combined test case, a storatge medium and a terminal, and relates to the technical field of software testing, which mainly aims at solving the problems that the mutual relation between parameters of an existing combined test case is uncertain, and a large number of invalid test cases can be generated for combined testing with neglectedconstraint conditions aiming at a large number of dependency relations and complex parameter relations between software. The method comprises the steps of establishing a combined test case model according to constraint conditions and parameter correlation; Describing the combined test case model through a preset description language, and configuring a parameter function for parameter calculationfor parameters in the described combined test case model; Generating a combined test case template and a parameter combination list according to the combined test case model of which the parameter function is configured; And loading the combined test case template and the parameter combination list, and operating the combined test case template and the parameter combination list to generate a combined test case.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method and device for generating combined test cases, a storage medium, and computer equipment. Background technique [0002] Combination testing refers to the test method for detecting the failure of the software under test caused by the interaction of parameters. Combination testing can generate a set of test suites, that is, combination test cases, which contain the required combination of parameter values, so as to detect the failure of software testing. Faults triggered by interactions between imperceptible parameters. [0003] At present, in the existing actual test scenarios, the relationship between the parameters of the combined test cases is uncertain. By adopting the same density combined test for all parameters, the combined test cases with strong correlation parameters will be missed, making completely independent parameter tests redundant. ; and for the ...

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 Applications(China)
IPC IPC(8): G06F11/36
Inventor 沈斌陈旭邱哲侃
Owner ZHEJIANG KOUBEI NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products