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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
