CN113268409A - Method, apparatus, device and medium for tracking logical nodes during automated testing - Google Patents

Method, apparatus, device and medium for tracking logical nodes during automated testing Download PDF

Info

Publication number
CN113268409A
CN113268409A CN202110191383.5A CN202110191383A CN113268409A CN 113268409 A CN113268409 A CN 113268409A CN 202110191383 A CN202110191383 A CN 202110191383A CN 113268409 A CN113268409 A CN 113268409A
Authority
CN
China
Prior art keywords
node
logic
decision rule
test
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110191383.5A
Other languages
Chinese (zh)
Other versions
CN113268409B (en
Inventor
孙龙根
范大章
董佳佳
王刚
高雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Suning Software Technology Co ltd
Original Assignee
Nanjing Suning Software Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Suning Software Technology Co ltd filed Critical Nanjing Suning Software Technology Co ltd
Priority to CN202110191383.5A priority Critical patent/CN113268409B/en
Publication of CN113268409A publication Critical patent/CN113268409A/en
Priority to CA3149711A priority patent/CA3149711A1/en
Application granted granted Critical
Publication of CN113268409B publication Critical patent/CN113268409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3636Software debugging by tracing the execution of the program
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application relates to a method, a device, computer equipment and a storage medium for tracking a logical node during automatic testing. The method comprises the following steps: determining a target decision rule to be subjected to automatic testing in response to the testing instruction, wherein the target decision rule comprises a plurality of logic nodes; displaying an execution state tracking diagram corresponding to the target decision rule in a page; and determining an execution sequence corresponding to each logic node, sending the logic information of each logic node to the test server one by one according to the execution sequence corresponding to each logic node, and updating an execution state tracking graph corresponding to the target decision rule displayed in the page according to the received node test result when receiving a node test result corresponding to any logic node of the target decision rule returned by the test server. According to the embodiment of the invention, the user can see the execution state corresponding to each logic node of the decision rule in the test process, so that the test result of the decision rule can be traced, and the test problem is conveniently positioned.

Description

Method, apparatus, device and medium for tracking logical nodes during automated testing
Technical Field
The present application relates to the field of rule automation test, and in particular, to a method and an apparatus for tracking a logical node during an automation test, a computer device, and a storage medium.
Background
In a traditional decision rule test scheme, when a decision rule logic expression is tested, the logic expression is often tested as a whole, the execution condition of each logic node branch in the logic expression is invisible to the test process, and when a test result is different from an expected result, the problem is difficult to locate. When the decision rule is changed and adjusted, a large amount of checking is often required, when the test result is different from the expected result, developers are often required to intervene to find out specific reasons and ensure the consistency and accuracy of logic, and when the decision rule is complex, the workload of checking is very large under the condition of normal complexity, so that a lot of unnecessary manpower can be wasted.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a method, a device, computer equipment and a storage medium for tracking logic nodes in an automatic test.
The present invention provides, in accordance with a first aspect, a method for tracking logical nodes during automated testing, the method comprising, in one embodiment:
responding to the test instruction, and determining a target decision rule to be subjected to automatic test, wherein the target decision rule comprises a plurality of logic nodes;
displaying an execution state tracking diagram corresponding to the target decision rule in a page;
determining an execution sequence corresponding to each logic node, sending the logic information of each logic node to a test server one by one according to the execution sequence corresponding to each logic node, wherein the test server is used for testing according to the logic information of any logic node included in any decision rule received by the test server and returning a node test result corresponding to the logic node generated by the test server;
and updating the execution state tracking graph corresponding to the target decision rule displayed in the page according to the received node test result every time the node test result corresponding to any logic node of the target decision rule returned by the test server is received.
In one embodiment, when the logic information of each logic node is sent to the test server one by one according to the execution sequence corresponding to each logic node, after the logic information of the current logic node corresponding to any execution sequence is sent to the test server, whether a preset logic information sending condition is met is judged, when the preset logic information sending condition is met, the logic information of the logic node corresponding to the next execution sequence of any execution sequence is sent to the test server, and when the preset logic information sending condition is not met, the logic information sending to the test server is stopped.
In one embodiment, the preset logical information transmission condition is determined to be satisfied when it is determined that both of the following conditions are satisfied:
receiving a node test result corresponding to the current logic node returned by the test server, wherein the node test result is a test success;
the target decision rule also includes untested logical nodes.
In one embodiment, the step of determining a target decision rule to be tested automatically in response to the test instruction is preceded by the steps of:
displaying a decision rule configuration interface;
acquiring decision rule configuration information of a target decision rule input by a user through a decision rule configuration page;
before the step of displaying the execution state tracking diagram corresponding to the target decision rule in the page, the method comprises the following steps:
acquiring decision rule configuration information of a target decision rule;
generating a rule configuration file according to the decision rule configuration information;
and generating an execution state tracking graph corresponding to the target decision rule according to the rule configuration file.
In one embodiment, the step of generating an execution state tracking graph corresponding to the target decision rule according to the rule configuration file includes:
analyzing the rule configuration file to generate an execution state tracking graph corresponding to the target decision rule;
or, converting the rule configuration file, and analyzing the converted rule configuration file to generate an execution state tracking graph corresponding to the target decision rule.
In an embodiment, before the step of sending the logic information of each logic node to the test server one by one according to the execution sequence corresponding to each logic node, the method includes:
acquiring an execution priority and an execution step corresponding to each logic node, analyzing logic information of each logic node according to the execution priority and the execution step corresponding to each logic node, and generating a Groovy text corresponding to each logic node;
acquiring reference information and resource data used in testing corresponding to the target decision rule, wherein the resource data comprises entity class data and used function data of an object required to be used in testing of the target decision rule;
sending the entry information and the resource data corresponding to the target decision rule and the Groovy text corresponding to each logic node to a test server, so that the test server executes test preparation operation according to the entry information and the resource data and the Groovy text corresponding to each logic node, and after the test server finishes the test preparation operation, when receiving the logic information of any logic node, analyzing and calculating the logic information of the logic node according to the entry information to obtain a node test result corresponding to the logic node.
In one embodiment, the execution state tracking graph comprises a plurality of presentation elements, one presentation element corresponds to one logic node, each presentation element has a plurality of presentation states, and different presentation states of each presentation element are used for representing different execution states of the corresponding logic node; the step of updating the execution state tracking graph corresponding to the target decision rule displayed in the page according to the received node test result comprises the following steps:
determining a target display element corresponding to the received node test result in the execution state tracking graph;
and updating the display state type of the target display element according to the received node test result.
The present invention provides according to a second aspect an apparatus for tracking logical nodes during automated testing, the apparatus comprising, in one embodiment:
the target decision rule determining module is used for responding to the test instruction and determining a target decision rule to be subjected to automatic test, and the target decision rule comprises a plurality of logic nodes;
the tracking diagram display module is used for displaying an execution state tracking diagram corresponding to the target decision rule in a page;
the logic information sending module is used for determining the execution sequence corresponding to each logic node, sending the logic information of each logic node to the test server one by one according to the execution sequence corresponding to each logic node, and the test server is used for testing the logic information of any logic node included in any decision rule received by the test server and returning the generated node test result corresponding to the logic node;
and the trace graph updating module is used for updating the execution state trace graph corresponding to the target decision rule displayed in the page according to the received node test result every time the node test result corresponding to any logic node of the target decision rule returned by the test server is received.
The present invention provides according to a third aspect a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of an embodiment of any of the methods described above when executing the computer program.
The present invention provides according to a fourth aspect a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the embodiments of the method of any one of the above.
In the embodiment of the invention, a test client sends the logic information of each logic node to a test server one by one according to the execution sequence corresponding to each logic node included in a target decision rule, the test server tests according to the logic information of each logic node to generate a node test result corresponding to each logic node and returns the node test result to the client, the client updates an execution state tracking diagram corresponding to the target decision rule displayed in a page according to the received node test result every time the client receives the node test result corresponding to any logic node of the target decision rule returned by the test server, a user can visually see the test progress of the target decision rule and the execution state corresponding to each logic node through the execution state tracking diagram, and the user can trace the test result of the target decision rule through the execution state tracking diagram, the test problem can be quickly and accurately positioned when a problem occurs in the test process, and the labor cost consumed by positioning the test problem is saved.
Drawings
FIG. 1 is a diagram of an embodiment of an application environment for a method for tracking logical nodes during automated testing;
FIG. 2 is a flow diagram illustrating a method for tracking logical nodes during automated testing in one embodiment;
FIG. 3 is a schematic diagram of a decision rule configuration interface in one embodiment;
FIG. 4 is a diagram illustrating a decision rule configured in one embodiment;
FIG. 5 is a flow diagram that illustrates the generation of an execution state tracking graph, under an embodiment;
FIG. 6 is a flowchart illustrating a test preparation operation performed by the test server in one embodiment;
FIG. 7-a is a diagram illustrating logical information of a logical node prior to parsing in one embodiment;
FIG. 7-b is a diagram of a Groovy text of a parsed logical node in one embodiment;
FIG. 7-c is a diagram illustrating a page provided to a user for entering participation information and specifying a jar package for a resource in one embodiment;
FIG. 8-a is a schematic diagram of a conversion rule profile in one embodiment;
FIG. 8-b is a schematic illustration of a conversion rule profile in another embodiment;
FIG. 8-c is a schematic illustration of a conversion rule profile in yet another embodiment;
FIG. 8-d is a schematic diagram of a conversion rule profile in one embodiment;
FIG. 9-a is a diagram illustrating parsing of a rule configuration file into an execution state trace graph, in accordance with an embodiment;
9-b are diagrams illustrating parsing of a rule configuration file into an execution state trace graph in another embodiment;
FIG. 10 is a block diagram of an apparatus for tracking logical nodes during automated testing in one embodiment;
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
FIG. 1 is a diagram illustrating an application environment of a method for tracking logical nodes during automated testing according to an embodiment of the present invention.
The testing client 10 sends the logic information of each logic node included in the decision rule (i.e. the target decision rule) to be tested automatically to the testing server 20 through the network 30, the testing server 20 tests according to the logic information of each logic node to generate a node testing result corresponding to each logic node and returns the node testing result to the testing 0 client 10, the testing client 10 displays an execution state tracing graph of the target decision rule to a user through a page, the user can visually see the testing progress of the target decision rule and the execution state corresponding to each logic node through the execution state tracing graph, and the testing client 10 updates the execution state tracing graph according to the received node testing result every time the testing client 10 receives the node testing result corresponding to any logic node of the target decision rule returned by the testing server 20, by executing the state tracking diagram, a user can trace the test result of the target decision rule, the test problem can be quickly and accurately positioned when the problem occurs in the test process, and the labor cost consumed for positioning the test problem is saved. The testing client 10 may be a computing device including, but not limited to, various personal computers, smart phones, notebook computers, smart phones, tablet computers, and desktop computers, and the testing server 20 may be a server cluster including, but not limited to, an independent server and a plurality of servers.
The invention provides a method for tracking logical nodes during automatic testing, which is described below by taking the application of the method to a testing client in fig. 1 as an example. In one embodiment, as shown in FIG. 2, the method includes the steps of:
s110: and determining a target decision rule to be subjected to the automatic test in response to the test instruction, wherein the target decision rule comprises a plurality of logic nodes.
In this embodiment, the test client starts the process of executing the automated test when receiving the test instruction from the user. Firstly, a decision rule (i.e. a target decision rule) for an automated test to be performed, which is aimed at by the test instruction, is determined, wherein the decision rule may be a logic expression or a plurality of expressions connected by logic operators.
Before the step of determining the target decision rule to be automatically tested in response to the test instruction, the test client further executes the following steps of displaying a decision rule configuration interface and acquiring decision rule configuration information of the target decision rule input by a user through a decision rule configuration page.
In one embodiment, the user may configure the configuration information of the target decision rule (i.e., the decision rule configuration information) by inputting the expression code of each logical node included in the target decision rule through the decision rule configuration interface. In this way, the user can configure the configuration information of the target decision rule more quickly, however, this requires the user to have a certain programming basis, and if the user only has a little programming basis or the decision rule to be configured is complicated, it is easy to make an error when configuring the configuration information of the decision rule.
To this end, the present embodiment provides another way to configure the configuration information of the decision rule in another implementation. In the embodiment, a rule engine (e.g., Groovy, Drools, etc.) is used to strip complex decision rule logic from a service code, so that the difficulty in implementing the service logic can be reduced, the variable decision rules can be maintained, and a visual decision rule designer is further matched, so that a service worker with only a little coding basis can rapidly configure the decision rules, even a service worker who does not know programming can easily define and maintain the complex decision rules by using the rule engine, and perform automatic testing on the complex decision rules, thereby improving the configuration efficiency of the decision rules and the accuracy of implementing the decision rules. The decision rule designer is a web system for rule configuration, and can display a web page as shown in fig. 3 for a user, such as a business person who wants to configure a decision rule, through a test client, and the user can configure the decision rule through the web page.
For example, if a configured decision rule is (sales organization ═ payment line & ((document direction ═ N ') | (order source ═ SUNING')), its corresponding decision rule may be as shown in fig. 4.
S120: and displaying an execution state tracking diagram corresponding to the target decision rule in a page.
The execution state tracking graph comprises a plurality of display elements, one display element corresponds to one logic node, each display element has a plurality of display states, and different display states of each display element are used for representing different execution states of the corresponding logic node. The display element may be an icon, and the display status may be a display color of the icon (for example, red indicates that the test is successful, green indicates that the test is failed, and a white mark does not start the test yet), a display size (for example, an icon with a default size indicates that the test is not started, a large icon indicates that the test is successful, a small icon indicates that the test is failed, and the like), and/or an additional mark (for example, a small dot may be added in the icon, a small dot indicates that the test is successful, and no small dot indicates that the test is unsuccessful, and the like).
In one embodiment, before the step of the test client displaying the execution state tracking graph corresponding to the target decision rule in the page, the step shown in fig. 5 is further executed:
s210: acquiring decision rule configuration information of a target decision rule;
s220: generating a rule configuration file according to the decision rule configuration information;
s230: and generating an execution state tracking graph corresponding to the target decision rule according to the rule configuration file.
The test client obtains decision rule configuration information of a target decision rule input by a user through a decision rule configuration page, the decision rule configuration information is a configured and generated HTML (HyperText Markup Language) file, wherein the decision rule configuration information includes information of all configuration elements of the configured decision rule, such as all configuration elements shown in fig. 4, and then the HTML file is analyzed to generate a corresponding XML (eXtensible Markup Language) file, namely a rule configuration file (including logic relationships among logic expressions of the decision rule and detailed information of the logic expressions, and including an execution action under a decision rule designation result), and further generates an execution state tracking graph corresponding to the target decision rule according to the generated rule configuration file.
S130: and determining the execution sequence corresponding to each logic node, and sending the logic information of each logic node to the test server one by one according to the execution sequence corresponding to each logic node.
The test server is used for testing the logic information of any logic node included in any decision rule received by the test server and returning a generated node test result corresponding to the logic node.
In this embodiment, when the test client sends the logic information of each logic node to the test server one by one according to the execution sequence corresponding to each logic node, after sending the logic information of the current logic node corresponding to any execution sequence to the test server, it determines whether a preset logic information sending condition is satisfied, and sends the logic information of the logic node corresponding to the next execution sequence of any execution sequence to the test server when it is determined that the logic information is satisfied, and stops sending the logic information to the test server when it is determined that the logic information is not satisfied.
When the test client determines that the following two conditions are both met, the test client judges that the preset logic information sending condition is met:
receiving a node test result corresponding to the current logic node returned by the test server, wherein the node test result is a test success;
the objective decision rule further includes untested logical nodes (whether the objective decision rule further includes untested logical nodes can be confirmed by determining whether a next execution sequence exists after the any execution sequence, although other confirmation methods are also possible).
For example, the decision rule has 3 logical nodes, which are node a, node B, and node C, respectively, the first execution order is node a, and the first node C is the last, then the test client sends the logical information of node a to the test server first, then determines whether the logical information sending condition is satisfied, if it is determined that the node test result of the node a, which is returned by the test server at present and is tested successfully, is received, and it is determined that the decision rule further includes untested logical nodes, it is determined that the logical information sending condition is satisfied, and the logical information of node B of the corresponding next execution order is sent to the test server.
Of course, in other embodiments, the step of "determining whether the preset logic information sending condition is satisfied" may not be set, and the testing client may first send the logic information of each logic node of the decision rule to the testing server one by one according to the execution sequence, where "sending the logic information of each logic node to the testing server one by one" may refer to sending the logic information of one logic node to the testing server at a time, or may refer to separately packaging the logic information of each logic node and then sending the packaged logic information to the testing server at a time in a unified manner, because the testing server may receive the logic information of more than one logic node in this embodiment, the testing client needs to add the identification information for determining the execution sequence corresponding to the logic information when packaging the logic information (of course, the identification information for determining the corresponding logic node may also be further added), therefore, the test server side can test the logic information of each logic node according to the execution sequence according to the identification information of the execution sequence, and then generates a node test result of one logic node and returns the node test result to the test client side every time the logic information of the logic node is tested.
In all the above embodiments, the test server will sequentially test the logic information of the logic nodes and sequentially return the node test results of each logic node, so that the test client can update the execution state tracking graph of the decision rule in time, and thus the execution sequence of each logic node in the decision rule can be truly simulated, and a user can intuitively know the current test progress of the decision rule.
S140: and updating the execution state tracking graph corresponding to the target decision rule displayed in the page according to the received node test result every time the node test result corresponding to any logic node of the target decision rule returned by the test server is received.
In this embodiment, the test client updates the execution state tracking graph once when receiving the node test result of the logic node returned by the test server, so that the user can clearly see the dynamic trend of the data through the execution state tracking graph in the test process, and can timely know the intermediate value of each logic node in the test process, thereby analyzing the problem generated in the test process.
The step of updating the execution state tracking graph corresponding to the target decision rule displayed in the page according to the received node test result comprises the following steps: determining a target display element corresponding to the received node test result in the execution state tracking graph; and updating the display state type of the target display element according to the received node test result. For example, the decision rule has 3 logical nodes, which are node a, node B, and node C, respectively, the first execution order is node a, and after receiving the node test result of node a, if the test is successful, the display state of the display element of node a in the execution state tracking graph is updated from default white to green, and if the test is failed, the display state is updated from white to red.
In the embodiment of the invention, a test client sends the logic information of each logic node to a test server one by one according to the execution sequence corresponding to each logic node included in a target decision rule, the test server tests according to the logic information of each logic node to generate a node test result corresponding to each logic node and returns the node test result to the client, the client updates an execution state tracking graph corresponding to the target decision rule displayed in a page according to the received node test result every time the client receives the node test result corresponding to any logic node of the target decision rule returned by the test server, a user can visually see the test progress of the target decision rule and the execution state corresponding to each logic node through the execution state tracking graph, and the user can trace the test result of the target decision rule through the execution state tracking graph, the problem can be quickly and accurately positioned when a problem occurs in the test process, the labor cost and the time cost which are required to be consumed for positioning the test problem are saved, and the time for inquiring and analyzing the problem can be saved by 30 to 50 percent.
Furthermore, the embodiment of the invention is also suitable for a system for frequently modifying the decision rule, when the decision rule is changed, the requirement of the business can be met without development and release, and the change of the decision rule can be tested without professional testers, so that the method is simple and convenient, and the risk of frequent release is avoided while the labor is saved. Furthermore, the business system can seamlessly integrate the embodiment of the invention without repeated design and development, which is also beneficial to improving the automatic testing efficiency of the decision rule.
In an embodiment, before the step of sending the logic information of each logic node to the test server one by one according to the execution sequence corresponding to each logic node, the test client further executes the steps shown in fig. 6:
s310: acquiring an execution priority and an execution step corresponding to each logic node, analyzing logic information of each logic node according to the execution priority and the execution step corresponding to each logic node, and generating a Groovy text corresponding to each logic node;
s320: acquiring reference information and resource data used in testing corresponding to the target decision rule, wherein the resource data comprises entity class data and used function data of an object required to be used in testing of the target decision rule;
s330: sending the entry information and the resource data corresponding to the target decision rule and the Groovy text corresponding to each logic node to a test server, so that the test server executes test preparation operation according to the entry information and the resource data and the Groovy text corresponding to each logic node, and after the test server finishes the test preparation operation, when receiving the logic information of any logic node, analyzing and calculating the logic information of the logic node according to the entry information to obtain a node test result corresponding to the logic node.
In this embodiment, before the testing server tests the decision rule, the testing client needs to send the resource required to be used by the testing decision rule to the testing server, so that the testing server can prepare for testing, and the testing server loads the resource required to be used by the testing decision rule into the container in a dynamic loading manner.
The resources required to be used for testing the decision rule comprise the access information and the resource data corresponding to the decision rule and the Groovy text corresponding to each logic node included in the decision rule.
In order to facilitate the testing of each logic node of the overall logic expression (i.e., the decision rule) by the testing server, the logic information (i.e., the logic expression) of each logic node is analyzed into a Groovy text, the testing client can obtain the execution priority and the execution step corresponding to each logic node based on the rule configuration file during the analysis, and then the logic information of each logic node is analyzed according to the execution priority and the execution step corresponding to each logic node, so that the Groovy text corresponding to each logic node is generated. Illustratively, the parsing results are shown in FIG. 7-a and FIG. 7-b.
The parameter entry information corresponding to the decision rule is the parameter entry when the test server tests the decision rule, and may include parameters of a plurality of related functions, and may be obtained through the decision rule configuration interface. Further, the parameter included in the parameter entry information may be in json format, and the specific field is determined according to the decision rule, which field is used in the decision rule, and the corresponding field needs to be provided. The resource data corresponding to the decision rule may be a resource jar packet specified (or uploaded) by a user, where the resource data includes entity class data of an object and used function data that the decision rule needs to use when testing the server. Illustratively, the user may input the participation information corresponding to the decision rule and specify the resource jar package to be uploaded to the testing server through a page provided by the testing client (as shown in fig. 7-c, the page may also display the final testing result of the decision rule).
After the test server receives the resources required to be used by the test decision rule, a custom loader is created, a resource jar packet specified by a user is obtained (the connection of the resource jar packet can be further cached, and the unloading is convenient after the use), and the url of the resource jar packet is added to the custom loader, so that the test preparation operation is completed.
In one embodiment, the step of generating an execution state tracking graph corresponding to the target decision rule according to the rule configuration file includes: analyzing the rule configuration file to generate an execution state tracking graph corresponding to the target decision rule; or, converting the rule configuration file, and analyzing the converted rule configuration file to generate an execution state tracking graph corresponding to the target decision rule.
The embodiment provides two ways for generating the execution state tracking graph, one way is to directly parse the rule configuration file (i.e. the XML file) to generate the execution state tracking graph; the other method is to firstly convert the rule configuration file, and then analyze the converted rule configuration file to generate an execution state tracking diagram.
Considering that the rule configuration file is directly analyzed, the analysis may fail due to some reasons, for example, a user may have misoperation in the process of configuring the decision rule to cause logic symbol overlapping, or the logic expression itself is relatively complex, and in order to improve the success rate of analyzing the rule configuration file, the rule configuration file needs to be converted before the analysis. The operations involved in the conversion process may include the operations shown below:
1) and merging the logic nodes which are just under the logic symbol and are the same as the logic symbol of the upper level in the decision rule configuration process, and converting the logic nodes which are just under the logic symbol and are different from the logic symbol of the upper level, for example, as shown in the figure 8-a.
2) And merging the logic nodes with the same logic symbol as the logic symbol at the upper stage in the decision rule configuration process, for example, as shown in fig. 8-b.
3) And merging the logic nodes of which the adjacent logic characters at the same level are all OR in the decision rule configuration process, for example, as shown in FIG. 8-c.
4) The "not" used in the decision rule configuration process is converted, for example, as shown in fig. 8-d.
After the conversion process is completed, the converted rule configuration file is parsed again (the parsing process in two ways is the same).
1) When the first-level logic symbol is 'AND', traversing all the child nodes of the logic node, when the child nodes are expressions, adding and adding connecting lines directly behind the previous node, simultaneously giving the starting coordinates of the next logic node, namely the horizontal coordinates are changed, the vertical coordinates are not changed, and if the child nodes are logic symbols, carrying out step 2 on the starting coordinates given by the operation of the previous logic node
2) When the first-level logic symbol is 'OR', traversing all child nodes of the logic node, when the child nodes are expressions, adding and increasing connecting lines directly below the previous logic node, and simultaneously giving the starting coordinate of the next logic node, namely the vertical coordinate changes and the horizontal coordinate does not change, and if the child nodes are logic symbols, carrying out the step 1 on the starting coordinate given by the operation of the previous logic node.
Examples of parsing may refer to fig. 9-a and 9-b, which respectively show an example of parsing a rule configuration file (or a converted configuration file) to generate an execution state trace graph, where "S" shown in the execution state trace graph represents a test start, "E" represents a test end, and "N" represents a logical node.
Fig. 2, 5, and 6 are flow diagrams illustrating a method for tracking logical nodes during automated testing according to an embodiment. It should be understood that although the steps in the flowcharts of fig. 2, 5 and 6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 5, and 6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
Based on the same inventive concept, the invention also provides a device for tracking the logical node during automatic test. In one embodiment, as shown in fig. 10, the apparatus for tracking logical nodes during automated test includes the following modules:
a target decision rule determining module 110, configured to determine, in response to the test instruction, a target decision rule to be subjected to an automated test, where the target decision rule includes a plurality of logical nodes;
a trace graph display module 120, configured to display, in a page, an execution state trace graph corresponding to a target decision rule;
a logic information sending module 130, configured to determine an execution sequence corresponding to each logic node, and send the logic information of each logic node to the test server one by one according to the execution sequence corresponding to each logic node, where the test server is configured to test according to the received logic information of any logic node included in any decision rule and return a node test result corresponding to the logic node;
and the trace graph updating module 140 is configured to update the execution state trace graph corresponding to the target decision rule shown in the page according to the received node test result every time the node test result corresponding to any logical node of the target decision rule returned by the test server is received.
In one embodiment, when the logic information sending module sends the logic information of each logic node to the test server one by one according to the execution sequence corresponding to each logic node, after sending the logic information of the current logic node corresponding to any execution sequence to the test server, it determines whether a preset logic information sending condition is met, sends the logic information of the logic node corresponding to the next execution sequence of any execution sequence to the test server when the preset logic information sending condition is met, and stops sending the logic information to the test server when the preset logic information sending condition is not met.
In one embodiment, the logic information sending module determines that the preset logic information sending condition is satisfied when it is determined that both of the following conditions are satisfied:
receiving a node test result corresponding to the current logic node returned by the test server, wherein the node test result is a test success;
the target decision rule also includes untested logical nodes.
In one embodiment, the apparatus for tracking logical nodes during automated testing further comprises the following modules:
the configuration interface display module is used for displaying a decision rule configuration interface;
the configuration information acquisition module is used for acquiring decision rule configuration information of a target decision rule input by a user through a decision rule configuration page;
correspondingly, the device for tracking the logical nodes in the automatic test further comprises the following modules:
the configuration file generation module is used for acquiring decision rule configuration information of a target decision rule and generating a rule configuration file according to the decision rule configuration information;
and the trace graph generating module is used for generating an execution state trace graph corresponding to the target decision rule according to the rule configuration file.
In one embodiment, the trace graph generating module is specifically configured to parse the rule configuration file to generate an execution state trace graph corresponding to the target decision rule;
in another embodiment, the trace map generation module includes a transformation submodule and an analysis submodule, where the transformation submodule is configured to transform the rule configuration file, and the analysis submodule is configured to analyze the transformed rule configuration file to generate an execution state trace map corresponding to the target decision rule.
In one embodiment, the apparatus for tracking logical nodes during automated testing further comprises the following modules:
the Groovy text generation module is used for acquiring the execution priority and the execution step corresponding to each logic node, analyzing the logic information of each logic node according to the execution priority and the execution step corresponding to each logic node, and generating a Groovy text corresponding to each logic node;
the resource acquisition module is used for acquiring the access information and the resource data which are used during the test and correspond to the target decision rule, and the resource data comprise entity class data and used function data of an object which is required to be used during the test of the target decision rule;
and the resource sending module is used for sending the entry information and the resource data corresponding to the target decision rule and the Groovy text corresponding to each logic node to the testing server so that the testing server executes testing preparation operation according to the entry information and the resource data and the Groovy text corresponding to each logic node, and after the testing server finishes the testing preparation operation and receives the logic information of any logic node, the testing server analyzes and calculates the logic information of the logic node according to the entry information to obtain a node testing result corresponding to the logic node.
In one embodiment, the execution state tracking graph includes a plurality of presentation elements, one presentation element corresponds to one logical node, each presentation element has a plurality of presentation states, and different presentation states of each presentation element are used for representing different execution states of the corresponding logical node. A trace map update module comprising:
the target display element determining submodule is used for determining a target display element corresponding to the received node test result in the execution state tracking diagram;
and the display state updating submodule is used for updating the type of the display state of the target display element according to the received node test result.
For specific limitations of the apparatus for tracking a logical node during an automated test, reference may be made to the above limitations of the method for tracking a logical node during an automated test, and details thereof are not repeated here. The modules in the device for tracking logical nodes in the automatic test can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 11. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing decision rule configuration information input by a user, resource jar packets of the decision rules and other data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of tracking logical nodes at automated testing.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
responding to the test instruction, and determining a target decision rule to be subjected to automatic test, wherein the target decision rule comprises a plurality of logic nodes; displaying an execution state tracking diagram corresponding to the target decision rule in a page; determining an execution sequence corresponding to each logic node, sending the logic information of each logic node to a test server one by one according to the execution sequence corresponding to each logic node, wherein the test server is used for testing according to the logic information of any logic node included in any decision rule received by the test server and returning a node test result corresponding to the logic node generated by the test server; and updating the execution state tracking graph corresponding to the target decision rule displayed in the page according to the received node test result every time the node test result corresponding to any logic node of the target decision rule returned by the test server is received.
In one embodiment, the processor executes the computer program, and when the logic information of each logic node is sent to the test server one by one according to the execution sequence corresponding to each logic node, after the logic information of the current logic node corresponding to any execution sequence is sent to the test server, whether a preset logic information sending condition is met is judged, when the preset logic information sending condition is met, the logic information of the logic node corresponding to the next execution sequence of any execution sequence is sent to the test server, and when the preset logic information sending condition is not met, the logic information sending to the test server is stopped.
In one embodiment, the preset logical information transmission condition is determined to be satisfied when it is determined that both of the following conditions are satisfied:
receiving a node test result corresponding to the current logic node returned by the test server, wherein the node test result is a test success;
the target decision rule also includes untested logical nodes.
In one embodiment, the processor executes the computer program to perform the following steps prior to the step of determining a target decision rule to be tested automatically in response to the test instruction:
displaying a decision rule configuration interface; and acquiring decision rule configuration information of the target decision rule input by the user through the decision rule configuration page.
In one embodiment, the processor executes a computer program to realize that before the step of displaying the execution state tracking graph corresponding to the objective decision rule in the page, the method includes:
acquiring decision rule configuration information of a target decision rule; generating a rule configuration file according to the decision rule configuration information; and generating an execution state tracking graph corresponding to the target decision rule according to the rule configuration file.
In one embodiment, when the processor executes the computer program to generate the execution state tracking graph corresponding to the target decision rule according to the rule configuration file, the following steps are further implemented:
analyzing the rule configuration file to generate an execution state tracking graph corresponding to the target decision rule; or, converting the rule configuration file, and analyzing the converted rule configuration file to generate an execution state tracking graph corresponding to the target decision rule.
In one embodiment, before the step of executing the computer program by the processor to send the logic information of each logic node to the test server one by one according to the execution sequence corresponding to each logic node, the following steps are further implemented:
acquiring an execution priority and an execution step corresponding to each logic node, analyzing logic information of each logic node according to the execution priority and the execution step corresponding to each logic node, and generating a Groovy text corresponding to each logic node; acquiring reference information and resource data used in testing corresponding to the target decision rule, wherein the resource data comprises entity class data and used function data of an object required to be used in testing of the target decision rule; sending the entry information and the resource data corresponding to the target decision rule and the Groovy text corresponding to each logic node to a test server, so that the test server executes test preparation operation according to the entry information and the resource data and the Groovy text corresponding to each logic node, and after the test server finishes the test preparation operation, when receiving the logic information of any logic node, analyzing and calculating the logic information of the logic node according to the entry information to obtain a node test result corresponding to the logic node.
In one embodiment, the execution state tracking graph comprises a plurality of presentation elements, one presentation element corresponds to one logic node, each presentation element has a plurality of presentation states, and different presentation states of each presentation element are used for representing different execution states of the corresponding logic node; the processor executes the computer program, and when the execution state tracking graph corresponding to the target decision rule displayed in the page is updated according to the received node test result, the following steps are also realized:
determining a target display element corresponding to the received node test result in the execution state tracking graph; and updating the display state type of the target display element according to the received node test result.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
responding to the test instruction, and determining a target decision rule to be subjected to automatic test, wherein the target decision rule comprises a plurality of logic nodes; displaying an execution state tracking diagram corresponding to the target decision rule in a page; determining an execution sequence corresponding to each logic node, sending the logic information of each logic node to a test server one by one according to the execution sequence corresponding to each logic node, wherein the test server is used for testing according to the logic information of any logic node included in any decision rule received by the test server and returning a node test result corresponding to the logic node generated by the test server; and updating the execution state tracking graph corresponding to the target decision rule displayed in the page according to the received node test result every time the node test result corresponding to any logic node of the target decision rule returned by the test server is received.
In one embodiment, a computer program is executed by a processor, and when logic information of each logic node is sent to a test server one by one according to an execution sequence corresponding to each logic node, after each logic information of a current logic node corresponding to any execution sequence is sent to the test server, whether a preset logic information sending condition is met is judged, when the logic information is judged to be met, logic information of a logic node corresponding to a next execution sequence of any execution sequence is sent to the test server, and when the logic information is judged not to be met, sending of the logic information to the test server is stopped.
In one embodiment, the preset logical information transmission condition is determined to be satisfied when it is determined that both of the following conditions are satisfied:
receiving a node test result corresponding to the current logic node returned by the test server, wherein the node test result is a test success;
the target decision rule also includes untested logical nodes.
In one embodiment, the computer program is executed by a processor, and the step of determining a target decision rule to be tested automatically in response to a test instruction is preceded by the step of:
displaying a decision rule configuration interface; and acquiring decision rule configuration information of the target decision rule input by the user through the decision rule configuration page.
In one embodiment, the computer program executed by the processor, before the step of presenting the execution state tracking graph corresponding to the objective decision rule in the page, comprises:
acquiring decision rule configuration information of a target decision rule; generating a rule configuration file according to the decision rule configuration information; and generating an execution state tracking graph corresponding to the target decision rule according to the rule configuration file.
In one embodiment, when the computer program is executed by a processor and generates an execution state tracking graph corresponding to a target decision rule according to a rule configuration file, the following steps are further implemented:
analyzing the rule configuration file to generate an execution state tracking graph corresponding to the target decision rule; or, converting the rule configuration file, and analyzing the converted rule configuration file to generate an execution state tracking graph corresponding to the target decision rule.
In one embodiment, before the step of executing the computer program by the processor and sending the logic information of each logic node to the test server one by one according to the execution sequence corresponding to each logic node, the following steps are further implemented:
acquiring an execution priority and an execution step corresponding to each logic node, analyzing logic information of each logic node according to the execution priority and the execution step corresponding to each logic node, and generating a Groovy text corresponding to each logic node; acquiring reference information and resource data used in testing corresponding to the target decision rule, wherein the resource data comprises entity class data and used function data of an object required to be used in testing of the target decision rule; sending the entry information and the resource data corresponding to the target decision rule and the Groovy text corresponding to each logic node to a test server, so that the test server executes test preparation operation according to the entry information and the resource data and the Groovy text corresponding to each logic node, and after the test server finishes the test preparation operation, when receiving the logic information of any logic node, analyzing and calculating the logic information of the logic node according to the entry information to obtain a node test result corresponding to the logic node.
In one embodiment, the execution state tracking graph comprises a plurality of presentation elements, one presentation element corresponds to one logic node, each presentation element has a plurality of presentation states, and different presentation states of each presentation element are used for representing different execution states of the corresponding logic node; when the computer program is executed by the processor and the execution state tracking graph corresponding to the target decision rule displayed in the page is updated according to the received node test result, the following steps are also realized:
determining a target display element corresponding to the received node test result in the execution state tracking graph; and updating the display state type of the target display element according to the received node test result.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for tracking logical nodes during automated testing, comprising:
in response to a test instruction, determining a target decision rule to be subjected to automated testing, wherein the target decision rule comprises a plurality of logic nodes;
displaying an execution state tracking diagram corresponding to the target decision rule in a page;
determining an execution sequence corresponding to each logic node, and sending the logic information of each logic node one by one to a test server according to the execution sequence corresponding to each logic node, wherein the test server is used for testing the logic information of any logic node included in any decision rule received by the test server and returning a node test result corresponding to the logic node;
and updating the execution state tracking graph corresponding to the target decision rule displayed in the page according to the received node test result every time the node test result corresponding to any logic node of the target decision rule returned by the test server is received.
2. The method according to claim 1, wherein when the logic information of each of the logic nodes is sent to the test server one by one according to the execution sequence corresponding to each of the logic nodes, after each time the logic information of the current logic node corresponding to any execution sequence is sent to the test server, it is determined whether a preset logic information sending condition is satisfied, when it is determined that the preset logic information sending condition is satisfied, the logic information of the logic node corresponding to a next execution sequence in any execution sequence is sent to the test server, and when it is determined that the preset logic information sending condition is not satisfied, the logic information sending to the test server is stopped.
3. The method for tracking a logical node at the time of automatic test according to claim 2, wherein it is judged that the preset logical information sending condition is satisfied when it is determined that both of the following conditions are satisfied:
receiving a node test result corresponding to the current logical node returned by the test server, wherein the node test result is a test success;
the target decision rule also includes untested logical nodes.
4. The method for tracking logical nodes during automated testing as recited in claim 1, wherein the step of determining a target decision rule to perform automated testing in response to the test instruction is preceded by:
displaying a decision rule configuration interface;
acquiring decision rule configuration information of the target decision rule input by a user through the decision rule configuration page;
before the step of displaying the execution state tracking diagram corresponding to the target decision rule in the page, the method comprises the following steps:
acquiring decision rule configuration information of the target decision rule;
generating a rule configuration file according to the decision rule configuration information;
and generating an execution state tracking graph corresponding to the target decision rule according to the rule configuration file.
5. The method for tracking a logical node during automated testing according to claim 4, wherein the step of generating an execution state tracking graph corresponding to the target decision rule according to the rule configuration file comprises:
analyzing the rule configuration file to generate an execution state tracking graph corresponding to the target decision rule;
or, the rule configuration file is converted, and the converted rule configuration file is analyzed to generate an execution state tracking diagram corresponding to the target decision rule.
6. The method for tracking logical nodes during automated testing according to claim 1, wherein before the step of sending the logical information of each logical node to the testing server one by one according to the execution sequence corresponding to each logical node, the method comprises:
acquiring an execution priority and an execution step corresponding to each logical node, analyzing the logical information of each logical node according to the execution priority and the execution step corresponding to each logical node, and generating a Groovy text corresponding to each logical node;
acquiring the reference information and resource data used in the test corresponding to the target decision rule, wherein the resource data comprises entity class data and used function data of an object required to be used in the test of the target decision rule;
sending the entry information and the resource data corresponding to the target decision rule and the Groovy text corresponding to each logical node to the test server, so that the test server executes test preparation operation according to the entry information and the resource data and the Groovy text corresponding to each logical node, and after the test server completes the test preparation operation, when receiving the logical information of any logical node, analyzing and calculating the logical information of the logical node according to the entry information to obtain a node test result corresponding to the logical node.
7. The method of claim 1, wherein the execution state trace graph comprises a plurality of presentation elements, one presentation element corresponding to each logical node, each presentation element having a plurality of presentation states, and wherein different presentation states of each presentation element are used to represent different execution states of the corresponding logical node;
the step of updating the execution state tracking graph corresponding to the target decision rule displayed in the page according to the received node test result includes:
determining a target display element corresponding to the received node test result in the execution state tracking graph;
and updating the type of the display state of the target display element according to the received node test result.
8. An apparatus for tracking logical nodes during automated testing, comprising:
the system comprises a target decision rule determining module, a target decision rule determining module and a target decision rule testing module, wherein the target decision rule determining module is used for responding to a testing instruction and determining a target decision rule to be subjected to automatic testing, and the target decision rule comprises a plurality of logic nodes;
the tracking diagram display module is used for displaying an execution state tracking diagram corresponding to the target decision rule in a page;
the logic information sending module is used for determining an execution sequence corresponding to each logic node, sending the logic information of each logic node to the testing server one by one according to the execution sequence corresponding to each logic node, and the testing server is used for testing the logic information of any logic node included in any decision rule received by the testing server and returning a node testing result corresponding to the logic node;
and the trace graph updating module is used for updating the execution state trace graph corresponding to the target decision rule displayed in the page according to the received node test result every time the node test result corresponding to any logic node of the target decision rule returned by the test server is received.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110191383.5A 2021-02-19 2021-02-19 Method, apparatus, device and medium for tracking logical nodes during automated testing Active CN113268409B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110191383.5A CN113268409B (en) 2021-02-19 2021-02-19 Method, apparatus, device and medium for tracking logical nodes during automated testing
CA3149711A CA3149711A1 (en) 2021-02-19 2022-02-21 Method of and device for tracing logical node in automation testing, program and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110191383.5A CN113268409B (en) 2021-02-19 2021-02-19 Method, apparatus, device and medium for tracking logical nodes during automated testing

Publications (2)

Publication Number Publication Date
CN113268409A true CN113268409A (en) 2021-08-17
CN113268409B CN113268409B (en) 2022-11-15

Family

ID=77228209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110191383.5A Active CN113268409B (en) 2021-02-19 2021-02-19 Method, apparatus, device and medium for tracking logical nodes during automated testing

Country Status (2)

Country Link
CN (1) CN113268409B (en)
CA (1) CA3149711A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115173569A (en) * 2022-09-08 2022-10-11 北京智芯微电子科技有限公司 Power distribution equipment testing method, device, equipment and medium based on BS (browser/server) framework
CN116527446A (en) * 2023-02-01 2023-08-01 合沃物联技术(南京)有限公司 Edge rule engine method based on industrial Internet of things gateway

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111242164A (en) * 2019-12-27 2020-06-05 天津幸福生命科技有限公司 Decision result determination method, device and equipment
CN111291054A (en) * 2020-02-21 2020-06-16 苏宁云计算有限公司 Data processing method and device, computer equipment and storage medium
CN111701246A (en) * 2020-06-17 2020-09-25 网易(杭州)网络有限公司 Game AI decision configuration method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111242164A (en) * 2019-12-27 2020-06-05 天津幸福生命科技有限公司 Decision result determination method, device and equipment
CN111291054A (en) * 2020-02-21 2020-06-16 苏宁云计算有限公司 Data processing method and device, computer equipment and storage medium
CN111701246A (en) * 2020-06-17 2020-09-25 网易(杭州)网络有限公司 Game AI decision configuration method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115173569A (en) * 2022-09-08 2022-10-11 北京智芯微电子科技有限公司 Power distribution equipment testing method, device, equipment and medium based on BS (browser/server) framework
CN116527446A (en) * 2023-02-01 2023-08-01 合沃物联技术(南京)有限公司 Edge rule engine method based on industrial Internet of things gateway
CN116527446B (en) * 2023-02-01 2023-09-08 合沃物联技术(南京)有限公司 Edge rule engine method based on industrial Internet of things gateway

Also Published As

Publication number Publication date
CN113268409B (en) 2022-11-15
CA3149711A1 (en) 2022-08-19

Similar Documents

Publication Publication Date Title
CN111061526B (en) Automatic test method, device, computer equipment and storage medium
CN109302522B (en) Test method, test device, computer system, and computer medium
CN108446190B (en) Interface test method and device
WO2019095580A1 (en) Test method and apparatus, computer device, and readable storage medium
CN113268409B (en) Method, apparatus, device and medium for tracking logical nodes during automated testing
CN115904352A (en) Process arrangement method, device, storage medium and business process execution method
CN110543429B (en) Test case debugging method, device and storage medium
CN112506757A (en) Automatic test method, system, computer device and medium thereof
KR101689984B1 (en) Programmable controller, programmable controller system, and execute error information creation method
US20220229767A1 (en) Test script generation apparatus, test script generation method and program
CN110888800A (en) Service interaction function test method, device, storage medium and test system
CN112527286A (en) Service code generation method and device, computer equipment and storage medium
CN113377669A (en) Automatic testing method and device, computer equipment and storage medium
CN112612706A (en) Automated testing method, computer device and storage medium
CN111399732B (en) Webpage screenshot method and device, computer equipment and storage medium
CN112559357A (en) Access method and device of third-party equipment, electronic equipment and readable storage medium
CN112487163A (en) Execution method of automation process and acquisition method and device of interface data of automation process
CN112346981A (en) Joint debugging test coverage rate detection method and system
CN111797008A (en) Automatic verification method, equipment and storage medium for mobile terminal buried point data
CN110865943A (en) Interface testing method and device, computer equipment and storage medium
CN115470152A (en) Test code generation method, test code generation device, and storage medium
CN114297088A (en) Method, device, equipment and medium for testing front end vue frame assembly
CN114047953A (en) Pipeline configuration method and device, computer equipment and storage medium
CN114168426A (en) Automated testing method and related equipment
CN114691486A (en) Program debugging method and device and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant