Unlock instant, AI-driven research and patent intelligence for your innovation.

Test case-driven sustainable integration interface automated test method and system

A technology of automated testing and test cases, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as low coverage of automated testing, and achieve the effects of providing test efficiency, improving coverage, and fast acquisition

Inactive Publication Date: 2018-12-18
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF10 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Existing automated test interface tests mainly rely on tools, mainly for parameter and parameter combination testing; business and process test cases mainly rely on manual testing, and the coverage rate of automated testing is not high

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-driven sustainable integration interface automated test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] like figure 1 As shown, a test case-driven sustainable integration interface automated testing method includes the following steps:

[0042] Extract atomic operations to form an atomic operation library;

[0043] Mark the test cases that contain multiple atomic operations, and use the marked test cases as drivers;

[0044] Select the corresponding atomic operation method and combine it into the corresponding test case code;

[0045] Use the TestNG framework to manage the test case code, integrate the test case code execution task into the Jenkins continuous integration environment, and realize the automation of the integration interface of the specific software system.

[0046] The steps of extracting atomic operations to form an atomic operation library include:

[0047] Extract atomic operations, and after extracting different atomic operations, compose atomic operation functions and form an atomic operation library; among them, an atomic operation is a minimal ope...

Embodiment 2

[0060] A test case-driven sustainable integration interface automation test system, including TestNG framework, Jenkins continuous integration environment, test cases and atomic operations;

[0061] The system also includes an extraction module and a labeling module;

[0062] The extraction module is used to extract atomic operations to form an atomic operation library;

[0063] The marking module is used to mark the test cases containing multiple atomic operations, and use the marked test cases as drivers, and combine the atomic operation methods corresponding to the driven test cases into corresponding test case codes;

[0064] The TestNG framework is used to manage the test case code and integrate the test case code execution task into the Jenkins continuous integration environment;

[0065] The Jenkins continuous integration environment is equipped with a trigger module, which is used to trigger the test task after the code of the system under test is updated; to realize ...

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 provides a test case-driven sustainable integrated interface automated test method and system, the method comprising the following steps: extracting atomic operation to form an atomic operation library; marking the test cases with multiple atomic operations and driving the marked test cases; selecting the corresponding atomic operation method and combining it into the corresponding test case code. A TestNG framework is used to manage the test case code, and the test case code execution task is integrated into Jenkins continuous integration environment to realize the integration interface automation of specific software system.

Description

technical field [0001] The invention relates to the technical field of software automation testing, in particular to a test case-driven sustainable integration interface automation testing method and system. Background technique [0002] A test case is a set of test inputs, execution conditions, and expected results compiled for a specific purpose, in order to test a program path or verify whether a specific requirement is met. Interface test is a test for testing the interface between system components. Interface test is mainly used to detect the interaction points between external systems and internal subsystems. The focus of the test is to check the exchange, transfer and control management process of data. , and the mutual logical dependencies between the systems. [0003] TestNG is a testing framework inspired by JUnit and NUnit while introducing some new features to make it more powerful and easier to use. TestNG is similar to JUnit, but it is not an extension of 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
CPCG06F11/3684
Inventor 左强
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD