Test method and device

A test method and test case technology, applied in the test field, can solve problems such as multi-processing resources and consumption, and achieve the effect of improving compatibility

Active Publication Date: 2016-07-20
ADVANCED NEW TECH CO LTD
View PDF8 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] The embodiment of the present application provides a test method for solving the problem in the prior art that different automated test frameworks need to be set up for different types of test objects, thus consuming more processing resources
[0014] The embodiment of the present application also provides a test device, which is used to solve the problem in the prior art that different automated test frameworks need to be set up for different types of test objects, thus consuming more processing resources.

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 method and device
  • Test method and device
  • Test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] In order to solve the problem in the prior art that different automated test frameworks need to be set up for different types of test objects, thus consuming more processing resources, the embodiment of the present application provides a method such as figure 1 The test method shown includes the following steps:

[0029] Step 11, call the interface of the test case collection container according to the type of the test object, so that the test case collection container calls the test case collection from at least two set test case collections.

[0030] Among the above at least two test case sets, at least two test case sets are respectively adapted to different types of test objects. For example, the above at least two test case sets may include: test case sets respectively adapted to test objects such as web type, non-web type, mobile application type, and non-mobile application type.

[0031] The test cases in the test case collection may be test cases that have been...

Embodiment 2

[0080] Based on the same inventive concept as that of Embodiment 1 of the present application, Embodiment 2 of the present application provides a test device for solving the need to set different automated test frameworks for different types of test objects in the prior art, which will cost more Handle resource issues.

[0081] The specific structural diagram of the device is shown in Figure 4 As shown, it includes a set call unit 41 and a trigger unit 42 . The functions of these units are introduced as follows:

[0082] The set calling unit 41 is configured to call the interface of the test case set container according to the type of the test object, so that the test case set container calls the test case set from at least two set test case sets.

[0083] Among the set at least two test case sets, at least two test case sets are respectively adapted to different types of test objects; methods for invoking the at least two test case sets are integrated in the test ...

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 method, which is used for solving the problem in the prior art that different automatic test frameworks need to be set for test objects of different types to consume more processing resources. The method comprises the following steps: invoking an interface of a test case set container according to the type of a test object, so that the test case set container invokes a test case set from at least two set test case sets, wherein at least two test case sets in the at least two test case sets are respectively adapted to test objects of different types, and a method for invoking the at least two test case sets is integrated in the test case set container; triggering a test node to execute the test object and the test cases in the invoked test case sets according to a test task. The invention further discloses a test device.

Description

technical field [0001] The present application relates to the technical field of testing, in particular to a testing method and device. Background technique [0002] In the prior art, both unit testing and integration testing can be completed based on test cases using an automated testing framework. [0003] Among them, a test case (TestCase) is a document used to describe input, execution conditions, and expected results, etc., which can be compiled into executable code. For software test cases, its basic elements include test case number, test title, importance level, test input, operation steps and expected results. The purpose of executing test cases is to verify whether a program (such as a unit of software, or an integrated system composed of units) satisfies specific requirements. [0004] The automated testing framework is a framework used in automated testing. It does not provide basic automated testing support, but is only used to organize, manage, and execute te...

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 ADVANCED NEW 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