Testing environment automatic processing method, and method and device for realizing testing automation
A test environment and automatic processing technology, applied in software testing/debugging, multi-programming devices, etc., can solve the problems of long operation cycle and increase labor cost, and achieve the effect of shortening operation cycle and saving labor cost.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] figure 1 The flow chart of the automatic implementation method for system testing provided by Embodiment 1 of the present invention, such as figure 1 As shown, the method includes the following steps:
[0065] Step 101: Determine the functional test case to be executed.
[0066] Step 102: call the remote call service to initialize the test environment.
[0067] Step 103: Execute the functional test cases to be executed sequentially or concurrently.
[0068] If the to-be-executed functional test cases are executed sequentially, before each execution of the to-be-executed functional test case, if the required test environment is the same as the current test environment, no initialization is required; if the required test environment is the same as the current test If the environment is partly the same, the test environment can be partially modified by calling the remote call service; if the required test environment is completely different from the current test environ...
Embodiment 2
[0082] The difference between this embodiment and Embodiment 1 is that when invoking the remote service to initialize the test environment, the environment inspection method can be used. In some cases, the test environment has reached the initialization state, so there is no need to initialize the test environment. Alternatively, some environments have already reached the initialization state, and only the test environment needs to be repaired. Such as image 3 As shown, the functional test case is also executed first, and then the stress test case is executed. After the functional test case to be executed is determined, the execution process of this embodiment includes:
[0083] Step 301: Run the environment check script of the functional test case to be executed, if the environment check passes, go to step 303; otherwise, go to step 302.
[0084]Step 302: Repair the test environment by invoking the remote invocation service, go to step 301.
[0085] An initialization confi...
Embodiment 3
[0097] Figure 4 The structure diagram of the automatic processing device for the test environment provided by the third embodiment of the present invention, in this embodiment, the remote call service is pre-deployed on the machines of the upstream module and the downstream module involved in the test environment, such as Figure 4 As shown, the device may include: a script generating unit 401 and a remote calling unit 402 .
[0098] The script generating unit 401 is configured to generate a corresponding operating environment script when the test case needs to operate the test environment during the system testing process.
[0099] The remote calling unit 402 is configured to control the machines in the test environment to run the scripts of the operating environment by calling the remote calling service, and capture the running results.
[0100] Wherein, the operation is to initialize the environment, and the corresponding operating environment script is the initializing e...
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