An automatic test method based on UnitTest parallel execution
A technology for automated testing and testing, which is applied in the direction of user interface execution, software testing/debugging, error detection/correction, etc. It can solve the problem of unreasonable balance of thread execution time, non-separation of test machine and test script, and serial execution of scripts Inefficiency and other issues, to achieve the effect of saving machine resource requirements, saving test running time, and reducing the trouble of configuring the environment
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0047] The present invention provides a kind of automated testing method based on UnitTest parallel execution, such as figure 1 As shown, the methods include:
[0048] S1, install the docker module on the host machine, and configure the container image based on the docker module;
[0049] S2, start the container image and create a Python module;
[0050] S3, preset the test cases to be executed on the container image;
[0051] S4, use the Python module to search for all test cases in the system, and write the name of the test case into the container image;
[0052] S5, the test file is given a ready state, the unittest test thread is run, and the test case that the read state is prepared is tested on the test file, and the test case state is set as running;
[0053] S6, after the operation ends, if the test case runs successfully, the state of the test file is set to a completed state;
[0054] S7, output a test report on the Python module.
[0055] The present invention ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com