Testing logic generation method and testing logic generation device
A technology for testing logic and testing software, applied in the field of measurement and control, can solve the problems of low applicability of automatic test platforms and high professional requirements of users, and achieve the effect of low professional level requirements and strong applicability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 It is a flow chart of the test logic generation method disclosed in the embodiment of the present invention, figure 2 For the structural flow diagram of the test software disclosed by the embodiment of the present invention, see figure 1 and figure 2 As shown, the method may include:
[0050] Step 101: Obtain the structure of the configuration file;
[0051] The structure of the configuration file can include two parts, one is the relevant parameter settings of the execution unit, which indicates how to execute the action; the other is the logic control setting of the execution unit, which indicates the direction of the action such as jump, condition and whether to block. content. Since each configuration file has a specific format, which must be able to be parsed by the test software, the structure of the configuration file needs to be determined in advance.
[0052]In the embodiment of the present invention, the configuration file may be one of an exte...
Embodiment 2
[0086] Figure 5 For a flow chart of another method for generating test logic disclosed in an embodiment of the present invention, see Figure 5 As shown, the method can pre-acquire the structure of the configuration file, and can include steps:
[0087] Step 501: Generate an analysis engine and an execution engine according to the structure of the configuration file, and separate the logic control part and the function module part in the test software.
[0088] In the embodiment of the present invention, the configuration file may be one of an extensible markup language file, an initialization file, and a binary file, or may be other configuration languages in the prior art.
[0089] The separation of the logic control part and the functional module part in the test software may specifically include: dividing the test software into an application program, a logic management module, a module set and a basic library; Interface, and control the start and stop of test actions...
Embodiment 3
[0098] Image 6 For the structural block diagram of the test logic generation device disclosed in the embodiment of the present invention, see Image 6 As shown, the test logic generation device 60 may include:
[0099] The structure acquisition module 601 is configured to acquire the structure of the configuration file in advance.
[0100] The software division module 602 is configured to generate an analysis engine and an execution engine according to the structure of the configuration file, and separate the logic control part and the function module part in the test software.
[0101] The device will obtain the structure of the configuration file in advance, and the structure of the configuration file can include two parts, one is the relevant parameter setting of the execution unit, which indicates how to execute the action; the other is the logic control setting of the execution unit, which indicates the jump Relevant content of action direction such as transfer, condit...
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