Test method and related device

A test method and technology to be tested, applied in the field of data processing, can solve the problems of cumbersome test process and low test efficiency, and achieve the effect of improving test efficiency and simplifying test process

Pending Publication Date: 2022-04-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When testing the software to be tested, multiple interfaces will be called. Front-end testers need to create different interface test cases one by one according

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

Examples

Experimental program
Comparison scheme
Effect test

Example

[0047] Jumping between different states requires different interface test cases, such as from never receiving task status to receiving task, uncommitted task status needs to use interface test case x, from received task, uncommitted task status to complete the task state requires the use of interface test case y. Server 200 may determine the interface test cases x and y required to implement the "do task" business function corresponding to the jump path, and the interface test case x and interface test case y is added to the use case set 201 for implementing the "do task" business function.

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 embodiment of the invention discloses a test method and a related device, when to-be-tested software is tested, the to-be-tested software is not tested one by one according to interfaces required for implementing the to-be-tested software, but is tested one by one according to business functions of the to-be-tested software, and even the test of a plurality of business functions can be processed in batches. When the target service function is tested, a plurality of states involved in the implementation of the target service function by the to-be-tested software are obtained, and a state jump path for the implementation of the target service function by the to-be-tested software can be determined according to a state jump sequence of the plurality of states. The interface test cases required for realizing adjacent state skipping on the state skipping path are added into the case sets, the interface test cases are called from the corresponding case sets in sequence according to the skipping sequence of the state skipping path during testing, the output of the previous interface test case is the input of the next interface test case, and the next interface test case is the input of the next interface test case. The realization process of the target business function is simulated, the test process is simplified, and the test efficiency is improved.

Description

Technical field [0001] The present application relates to the field of data processing, in particular to a test method and related devices. Background [0002] At present, the mode of separating the front end and the back end is generally used when developing software. After the back-end developer completes the system interface development, it is sent to the front-end tester. Front-end testers perform interface testing to verify the correctness and availability of the interface. [0003] The interface test uses an interface test case to verify whether the data exchange between the interfaces from one state to another is correct, and the interface passes the test when the actual output data is consistent with the expected output data. When testing the test software, multiple interfaces are called, and the front-end tester needs to create different interface test cases one by one according to the required interfaces for testing, and simulate the input data of each interface test c...

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
CPCG06F11/3684
Inventor 余自强
Owner TENCENT TECH (SHENZHEN) 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