Execution method and device of test program
A test program and interface configuration technology, applied in the field of computer processing, can solve problems such as serious system coupling, weak transferability, and insufficient versatility, so as to achieve decoupling, reduce the workload of repeated development, improve versatility and The effect of transferability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] figure 1 It is a flow chart of a method for executing a test program provided in Embodiment 1 of the present invention. The method in this embodiment can be executed by a device for executing a test program. The device can be implemented by means of hardware and / or software, and generally can be Integrate in the test equipment used to complete the system level testing of the set software system. The method of this embodiment specifically includes:
[0034] 110. Load the environment description interface configuration file associated with the test program into the memory.
[0035] Wherein, the environment description interface configuration file includes: a fixedly configured environment parameter name, and an environment characteristic value corresponding to the environment parameter name set by the user, and the environment characteristic value is associated with the test environment.
[0036] As mentioned above, developers first need to use the semi-fixed environmen...
Embodiment 2
[0092] figure 2 It is a flowchart of a method for executing a test program provided in Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, it further preferably includes: when a problem location scene is detected, calling and executing the problem troubleshooting and location code in the test program.
[0093] Correspondingly, the method in this embodiment specifically includes:
[0094] 210. Load the environment description interface configuration file associated with the test program into the memory.
[0095] Wherein, the environment description interface configuration file includes: a fixedly configured environment parameter name, and a user-defined environment feature value corresponding to the environment parameter name, and the environment feature value is associated with the test environment.
[0096] 220. Execute the program codes of the test program sequentially according to the pr...
Embodiment 3
[0115] Figure 4 It is a structural diagram of a test program execution device provided in Embodiment 3 of the present invention. Such as Figure 4 As shown, the device includes: a configuration file loading module 41, a program execution module 42 and an environment feature value acquisition module 43, wherein:
[0116] The configuration file loading module 41 is used to load the environment description interface configuration file associated with the test program in the memory; wherein, the environment description interface configuration file includes: the environment parameter name of the fixed configuration, and the user-defined setting, The environment characteristic value corresponding to the environment parameter name, the environment characteristic value is associated with the test environment.
[0117] The program execution module 42 is configured to execute the test program, wherein the test program includes: at least one abstract class.
[0118] The environment f...
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