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

Method and device for querying test cases, method and device for establishing test cases

A technology of test cases and query methods, which is applied in the field of data processing and can solve problems such as inability to query result sets

Active Publication Date: 2017-04-12
BEIJING GRIDSUM TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a method and device for querying test cases, and a method and device for establishing test cases, so as to solve the problem in the prior art that the correct result set cannot be found due to the need to manually input the query title

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 querying test cases, method and device for establishing test cases
  • Method and device for querying test cases, method and device for establishing test cases
  • Method and device for querying test cases, method and device for establishing test cases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] According to the embodiment of the present invention, a method embodiment that can be used to implement the embodiment of the device of the present application is provided. It should be noted that the steps shown in the flow charts of the drawings can be performed on a computer such as a set of computer-executable instructions system, and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0037] According to an embodiment of the present invention, a query method for a test case is provided, figure 1 is a flowchart of a query method of a test case according to an embodiment of the present invention, such as figure 1 As shown, the method mainly includes the following steps S102 to S106:

[0038] S102: When the first test case is opened, read the parameters contained in the title of the first test case, wherein the first test case may be any test cas...

Embodiment 2

[0057] According to the embodiment of the present invention, a method embodiment that can be used to implement the embodiment of the device of the present application is provided. It should be noted that the steps shown in the flow charts of the drawings can be performed on a computer such as a set of computer-executable instructions system, and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0058] According to an embodiment of the present invention, a method for establishing a test case is provided, image 3 is a flowchart of a method for establishing a test case according to an embodiment of the present invention, such as image 3 As shown, the method mainly includes the following steps S302 to S308:

[0059] S302: Receive a preset parameter; specifically, the preset parameter can be a preset object defined in the query method of a test case (herei...

Embodiment 3

[0068] According to the embodiment of the present invention, there is also provided a query device for implementing the query method of the above-mentioned test case, the query device is mainly used to execute the query method provided by the above content of the embodiment of the present invention, the following provides the embodiment of the present invention The query device of the test case is introduced in detail:

[0069] According to an embodiment of the present invention, a device for querying test cases is provided, Figure 4 is a schematic diagram of a query device for a test case according to an embodiment of the present invention, such as Figure 4 As shown, the query device mainly includes a reading unit 10, an adding unit 20 and a first query unit 30, wherein:

[0070] The reading unit 10 is used for reading the parameters contained in the title of the first test case when the first test case is opened, wherein the first test case may be any test case. The para...

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 query method and device of a test case and an establishment method and device of the test case. The query method of the test case comprises the following steps: reading parameters included in the title of a first test case when the first test case is opened, wherein the parameters are the ones for querying a second test case having incidence relation with the first test case; adding the parameters to an initial query condition to generate a first query condition; querying the second test case having the incidence relation with the first test case according to the first query condition to obtain a first result set. Through the invention, the problem that the correct result set cannot be queried due to the need of manually inputting the query title in the prior art is solved to further achieve an effect of improving the query accuracy.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a test case query method and device, and a test case establishment method and device. Background technique [0002] With the development of the information technology industry, the scale of software development teams and testing teams is also increasing, and the number of test cases or bugs that need to be managed is also increasing exponentially. The complexity and flexibility of test cases or bugs are becoming more and more prominent. In this case, the requirements for the management efficiency of test cases or bugs are getting higher and higher. Currently, some of the more commonly used management tools and Management means, and can not well adapt and meet this demand. [0003] In the current test management, a test case or bug consists of several elements including title, parameter, content and attachment. The management of test cases and bugs mainly includes: adding, editing...

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/36G06F17/30
Inventor 董晶
Owner BEIJING GRIDSUM TECH CO LTD
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