CN110309062B - Use case generation method, device, electronic equipment and storage medium - Google Patents
Use case generation method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110309062B CN110309062B CN201910442279.1A CN201910442279A CN110309062B CN 110309062 B CN110309062 B CN 110309062B CN 201910442279 A CN201910442279 A CN 201910442279A CN 110309062 B CN110309062 B CN 110309062B
- Authority
- CN
- China
- Prior art keywords
- component
- use case
- target
- case information
- parameters
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000005540 biological transmission Effects 0.000 claims abstract description 25
- 230000006870 function Effects 0.000 claims description 53
- 238000012795 verification Methods 0.000 claims description 20
- 238000004458 analytical method Methods 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 4
- 238000004806 packaging method and process Methods 0.000 claims description 4
- 238000012360 testing method Methods 0.000 abstract description 3
- 238000004590 computer program Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 5
- 238000012423 maintenance Methods 0.000 description 5
- 235000019800 disodium phosphate Nutrition 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000006386 memory function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
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)
- Stored Programmes (AREA)
Abstract
The invention provides a use case generation method, a use case generation device, electronic equipment and a storage medium. According to the case generation method, when a case generation instruction is received, case information can be obtained from the case generation instruction, and a target component is automatically obtained from a pre-maintained component list according to the case information, so that manual operation is effectively reduced, whether parameters to be transmitted exist in the case information is further detected, when the parameters to be transmitted exist in the case information, the parameters to be transmitted and the parameter transmission direction of the parameters to be transmitted are determined from the case information, and the target component is spliced in a splicing sequence by taking the parameter transmission direction as a splicing sequence, so that the target case is obtained, automatic generation of the case in the environment such as testing is realized, time cost is saved, and working efficiency is further improved.
Description
Technical Field
The present invention relates to the field of software technologies, and in particular, to a method and apparatus for generating a use case, an electronic device, and a storage medium.
Background
In the prior art, although some open-source or commercial interface automation platforms exist on the market, the method is limited to the invocation of a single interface or cannot be reused, and a user needs to edit codes again each time, so that a lot of repeated work is brought to the user, and the work experience is not facilitated. Moreover, because appointed personnel are arranged to re-write codes each time, the time consumption is long, and the timeliness of the service is affected.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method, an apparatus, an electronic device, and a storage medium for generating use cases, which can automatically generate use cases, save time costs, and further improve working efficiency.
A use case generation method, the method comprising:
when a use case generation instruction is received, obtaining use case information from the use case generation instruction;
acquiring a target component from a pre-maintained component list according to the use case information;
detecting whether parameters to be transferred exist in the use case information;
when the to-be-transmitted parameters exist in the use case information, determining the to-be-transmitted parameters and the parameter transmission directions of the to-be-transmitted parameters from the use case information;
And splicing the target components by taking the parameter transmission direction as a splicing sequence to obtain a target use case.
According to a preferred embodiment of the present invention, before the target component is obtained from the pre-maintained component list according to the use case information, the method further includes:
Acquiring all calling interface sentences, generating an interface component, and maintaining the interface component into the component list by taking the interface component as a component type; and/or
Acquiring all SQL sentences of a call database, generating an SQL component, and maintaining the SQL component into the component list by taking the SQL component as a component type; and/or
Acquiring all function sentences, generating a function component, and maintaining the function component into the component list by taking the function component as a component type; and/or
Acquiring all the circulation sentences, generating a circulation component, and maintaining the circulation component into the component list by taking the circulation component as a component type; and/or
And acquiring a custom statement, generating a custom component, and maintaining the custom component into the component list by taking the custom component as a component type.
According to a preferred embodiment of the present invention, before the target component is obtained from the pre-maintained component list according to the use case information, the method further includes:
And packaging the obtained sentences to generate the component with the interface.
According to a preferred embodiment of the present invention, before the target component is obtained from the pre-maintained component list according to the use case information, the method further includes:
Acquiring historical application data of each component in the component list;
analyzing the historical application data to obtain an analysis result;
And configuring use case information for each component according to the analysis result.
According to a preferred embodiment of the present invention, the obtaining, according to the use case information, the target component from the pre-maintained component list includes:
identifying key fields in the use case information;
Matching the key field with the field of the use case information of each component in the component list to obtain matched use case information;
and acquiring a component corresponding to the matched use case information as the target component.
According to a preferred embodiment of the invention, the method further comprises:
Inputting assertion into the target use case;
executing the target use case to obtain an execution result;
Matching the execution result with the assertion to obtain a matching degree;
And verifying the execution result according to the matching degree.
According to a preferred embodiment of the present invention, after verifying the execution result according to the matching degree, the method further includes:
when the target use case passes the verification, the target use case is saved as a component;
determining the target component type of the stored component according to the use case information;
and maintaining the saved component to the component list based on the target component type.
A use case generation apparatus, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring case information from a case generation instruction when the case generation instruction is received;
the acquisition unit is further used for acquiring a target component from a pre-maintained component list according to the use case information;
The detection unit is used for detecting whether parameters to be transmitted exist in the use case information;
the determining unit is used for determining the parameters to be transmitted and the parameter transmission direction of the parameters to be transmitted from the use case information when the parameters to be transmitted exist in the use case information;
and the splicing unit is used for splicing the target components in a splicing sequence by taking the parameter transmission direction as a splicing sequence to obtain a target use case.
According to a preferred embodiment of the invention, the device further comprises:
the configuration unit is used for acquiring all calling interface sentences before acquiring a target component from a pre-maintained component list according to the use case information, generating an interface component, and maintaining the interface component into the component list by taking the interface component as a component type; and/or
The configuration unit is further used for acquiring all SQL sentences of the call database, generating an SQL component, and maintaining the SQL component into the component list by taking the SQL component as a component type; and/or
The configuration unit is further used for acquiring all function sentences, generating function components, and maintaining the function components into the component list by taking the function components as component types; and/or
The configuration unit is further used for acquiring all the circulation sentences, generating a circulation component, and maintaining the circulation component into the component list by taking the circulation component as a component type; and/or
The configuration unit is further configured to obtain a custom statement, generate a custom component, and maintain the custom component into the component list by using the custom component as a component type.
According to a preferred embodiment of the invention, the device further comprises:
And the generating unit is used for packaging the obtained sentences before obtaining the target component from the pre-maintained component list according to the use case information to generate the component with the interface.
According to a preferred embodiment of the present invention, the obtaining unit is further configured to obtain historical application data of each component in the component list before obtaining the target component from the pre-maintained component list according to the use case information;
The apparatus further comprises:
the analysis unit is used for analyzing the historical application data to obtain an analysis result;
the configuration unit is further configured to configure use case information for each component according to the analysis result.
According to a preferred embodiment of the present invention, the acquiring unit acquires, from a component list maintained in advance, a target component according to the use case information, including:
identifying key fields in the use case information;
Matching the key field with the field of the use case information of each component in the component list to obtain matched use case information;
and acquiring a component corresponding to the matched use case information as the target component.
According to a preferred embodiment of the invention, the device further comprises:
an input unit, configured to input an assertion into the target use case;
the execution unit is used for executing the target use case to obtain an execution result;
The matching unit is used for matching the execution result with the assertion to obtain matching degree;
And the verification unit is used for verifying the execution result according to the matching degree.
According to a preferred embodiment of the invention, the device further comprises:
the storage unit is used for storing the target use case as a component when the target use case passes the verification after verifying the execution result according to the matching degree;
The determining unit is further used for determining the target component type of the stored component according to the use case information;
And the maintenance unit is used for maintaining the saved components to the component list based on the target component type.
An electronic device, the electronic device comprising:
a memory storing at least one instruction; and
And the processor executes the instructions stored in the memory to realize the use case generation method.
A computer-readable storage medium having stored therein at least one instruction that is executed by a processor in an electronic device to implement the use case generation method.
According to the technical scheme, when the use case generation instruction is received, the use case information can be obtained from the use case generation instruction, and the target component is automatically obtained from the pre-maintained component list according to the use case information, so that manual operation is effectively reduced, whether parameters to be transmitted exist in the use case information is further detected, when the parameters to be transmitted exist in the use case information, the parameters to be transmitted and the parameter transmission direction of the parameters to be transmitted are determined from the use case information, and the target component is spliced in the order of splicing by taking the parameter transmission direction as the splicing order, so that the automatic generation of the use case is realized, the time cost is saved, and the working efficiency is further improved.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of the use case generation method of the present invention.
FIG. 2 is a functional block diagram of a preferred embodiment of the use case generating apparatus of the present invention.
Fig. 3 is a schematic structural diagram of an electronic device according to a preferred embodiment of the present invention implementing a use case generating method.
Description of the main reference signs
Electronic equipment | 1 |
Memory device | 12 |
Processor and method for controlling the same | 13 |
Use case generating device | 11 |
Acquisition unit | 110 |
Splice unit | 111 |
Maintenance unit | 112 |
Configuration unit | 113 |
Input unit | 114 |
Execution unit | 115 |
Verification unit | 116 |
Storage unit | 117 |
Display unit | 118 |
Adding unit | 119 |
Transmitting unit | 120 |
Detection unit | 121 |
Determination unit | 122 |
Generating unit | 123 |
Analysis unit | 124 |
Matching unit | 125 |
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a flow chart of a preferred embodiment of the method for generating a use case of the present invention. The order of the steps in the flowchart may be changed and some steps may be omitted according to various needs.
The use case generating method is applied to one or more electronic devices, wherein the electronic devices are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and the hardware of the electronic devices comprises, but is not limited to, microprocessors, application SPECIFIC INTEGRATED Circuits (ASICs), programmable gate arrays (Field-Programmable GATE ARRAY, FPGA), digital processors (DIGITAL SIGNAL processors, DSPs), embedded devices and the like.
The electronic device may be any electronic product that can interact with a user in a human-computer manner, such as a Personal computer, a tablet computer, a smart phone, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), a game console, an interactive internet protocol television (Internet Protocol Television, IPTV), a smart wearable device, etc.
The electronic device may also include a network device and/or a user device. Wherein the network device includes, but is not limited to, a single network server, a server group composed of a plurality of network servers, or a Cloud based Cloud Computing (Cloud Computing) composed of a large number of hosts or network servers.
The network in which the electronic device is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), and the like.
S10, when a use case generation instruction is received, use case information is obtained from the use case generation instruction.
In at least one embodiment of the present invention, the electronic device receiving the use case generation instruction includes:
(1) And the electronic equipment detects the drag operation of the user on any component on the configuration interface.
Specifically, the arbitrary component is an important element for generating a use case, and the source of the arbitrary component is not limited by the present invention.
For example: when all the components are displayed on a configuration interface, the user selects any component from the configuration interface, directly drags the selected component to a designated position for generating a use case, and when the electronic equipment detects the drag operation of the user on any component, the user can determine that the use case generation instruction is received.
(2) And the electronic equipment detects the touch operation of the user on the configuration key.
Specifically, the configuration key may be a virtual key or an entity key, which is not limited by the present invention.
Further, the touch operation may include, but is not limited to: click operation, double click operation, slide operation, etc.
In at least one embodiment of the present invention, the use case information includes, but is not limited to, one or more of the following combinations:
the method comprises the steps of operating environment, functions which can be realized by the use cases, application scenes of the use cases, parameters to be transmitted, parameter transmission directions of the parameters to be transmitted and the like.
S11, acquiring a target component from a pre-maintained component list according to the use case information.
In at least one embodiment of the invention, the list of components stores all components that can be utilized to generate a use case.
In at least one embodiment of the present invention, the target component refers to a component that needs to be invoked currently, and is used to generate a currently required use case.
In at least one embodiment of the present invention, before the target component is acquired from the pre-maintained component list according to the use case information, the method further includes:
The electronic device configures the component list.
Specifically, the electronic device configuring the component list includes:
(1) And acquiring all calling interface sentences, generating an interface component, and maintaining the interface component into the component list by taking the interface component as a component type.
In at least one embodiment of the invention, the interface component is for implementing invocation of an interface.
(2) And acquiring all SQL (Structured Query Language ) sentences of a call database, generating an SQL component, and maintaining the SQL component into the component list by taking the SQL component as a component type.
In at least one embodiment of the invention, the SQL component is used to implement a database call to facilitate retrieval of data from the database.
(3) And acquiring all function sentences, generating a function component, and maintaining the function component into the component list by taking the function component as a component type.
In at least one embodiment of the present invention, the function component is configured to encapsulate a function, so that the electronic device can call the encapsulated function to implement the corresponding function.
Specifically, the encapsulated functions may include, but are not limited to, one or a combination of the following:
A serial number generation function, a random number generation function, a date generation function, and the like.
(4) And acquiring all the circulating sentences, generating a circulating component, and maintaining the circulating component into the component list by taking the circulating component as a component type.
In at least one embodiment of the invention, the loop component can realize loop execution of sentences, thereby effectively saving the execution time of programs.
In at least one embodiment of the invention, the loop component is typically used frequently, but is not applicable in all situations, so the electronic device creates the loop component for later recall according to actual needs.
(5) And acquiring a custom statement, generating a custom component, and maintaining the custom component into the component list by taking the custom component as a component type.
In at least one embodiment of the present invention, the custom component may be configured by a user according to actual requirements, and the electronic device maintains the custom component into the component list, so as to facilitate a direct call from the component list when in subsequent use, thereby saving time.
For example: the user-defined assembly can comprise a time stamp subassembly, and the time stamp subassembly is called to be capable of stamping the execution of the program, so that encryption can be conveniently carried out according to time, and the safety of data is improved.
Through the embodiment, the electronic equipment can concentrate the components needed to be used in the component list so as to be convenient to call at any time.
In at least one embodiment of the present invention, before the target component is acquired from the pre-maintained component list according to the use case information, the method further includes:
And the electronic equipment encapsulates the acquired statement to generate a component with an interface.
Through the embodiment, the acquired sentences can be converted into the components, so that the subsequent calling according to the requirements is convenient.
In at least one embodiment of the present invention, the electronic device may further display the component list on a display of the electronic device, from which a user can intuitively see all components in the component list for selection according to the need.
Of course, the electronic device may further add a component search function, so that the user may directly search for a desired component, which is convenient for the user to operate.
Through the embodiment, when the user wants to design the use case, the user can select the component in a clicking or dragging mode, so that the operation is convenient and more visual.
In at least one embodiment of the present invention, before the target component is acquired from the pre-maintained component list according to the use case information, the method further includes:
The electronic equipment acquires historical application data of each component in the component list, analyzes the historical application data to obtain an analysis result, and configures use case information for each component according to the analysis result.
Specifically, since each component may be adapted to multiple use cases, the electronic device may configure all adapted use case information for each component, so as to determine the target component required by matching according to the use case information of each component.
In at least one embodiment of the present invention, the obtaining, according to the use case information, the target component from the pre-maintained component list includes:
the electronic equipment identifies key fields in the use case information, matches the key fields with the fields of the use case information of each component in the component list to obtain matched use case information, and further obtains a component corresponding to the matched use case information as the target component.
For example: when the use case information is "inquiring credit card bill", the electronic device matches the key field "inquiring credit card bill" in the use case information with the field of the use case information of each component in the component list one by one, further obtains the interface component and the SQL component from the component list according to the matching result, and obtains a login interface from the interface component, wherein the login interface is used for logging in a system, and the SQL component is used for inquiring data from a database.
Through the embodiment, the electronic equipment can automatically acquire the needed target component from the component list according to the use case information, so that the trouble brought to the user by manual selection is avoided, the step that the user selects one by one is omitted, the time cost is saved, the labor cost is also saved, the user does not need to perform a large number of repeated and redundant works when writing programs, and the enthusiasm of the works is further improved.
S12, detecting whether parameters to be transferred exist in the use case information.
In at least one embodiment of the present invention, the parameters to be transferred refer to parameters that need to be transferred between components when the target use case is generated.
In at least one embodiment of the present invention, the splicing mode to be adopted later will also be different according to whether the parameters to be transferred exist or not.
Further, the electronic device does not limit the manner of detecting whether the parameters to be transferred exist in the use case information.
For example: the electronic equipment can detect whether parameters to be transferred exist in the use case information or not in a mode of detecting keywords and the like.
And S13, when the to-be-transmitted parameters exist in the use case information, determining the to-be-transmitted parameters and the parameter transmission directions of the to-be-transmitted parameters from the use case information.
It can be understood that, because the use case information includes the parameter to be transferred and the parameter transfer direction of the parameter to be transferred, the electronic device can directly obtain the use case information, so as to facilitate the subsequent splicing operation.
And S14, splicing the target components by taking the parameter transmission direction as a splicing sequence to obtain a target use case.
In at least one embodiment of the present invention, the target use case refers to a last generated use case, including, but not limited to: test cases, development cases, etc.
Through the above embodiment, the electronic equipment can realize through simple concatenation the intelligent writing of target use case, and is quick and need not to use a large amount of manpowers, effectively practices thrift the human cost.
In at least one embodiment of the invention, the method further comprises:
The electronic equipment inputs the assertion into the target use case, executes the target use case to obtain an execution result, and further, matches the execution result with the assertion to obtain a matching degree, and verifies the execution result according to the matching degree.
Specifically, the assertions are boolean expressions, and a programmer expects a result in advance when writing a program, the result being an assertion, which can be used as a basis for performing result verification to verify whether the target use case finally generated is accurate and usable.
Further, when the matching degree is greater than or equal to a preset value, the electronic device determines that the target use case passes verification, or when the matching degree is less than the preset value, the electronic device determines that the target use case does not pass verification.
Wherein the preset value may include, but is not limited to, 99% and the like, and the present invention is not limited thereto.
In at least one embodiment of the present invention, when the target use case fails verification, the electronic device sends a prompt message to a designated person to prompt the designated person to check the target use case in time to determine a problem point, and further maintain the target use case.
Wherein the designated personnel may include, but are not limited to: testers, developers, etc.
In at least one embodiment of the present invention, when the target use case fails to pass the verification, the electronic device may further simultaneously acquire an execution log of the target use case, and send the execution log one to the designated person, so as to facilitate the designated person to view.
In at least one embodiment of the invention, after verifying the execution result with the assertion, the method further comprises:
When the target use case passes the verification, the electronic equipment stores the target use case as a component, determines the target component type of the stored component according to the use case information, and maintains the stored component to the component list based on the target component type.
For example: after the electronic equipment generates the use case with the use case information of 'inquiring credit card bill', determining the type of the component as an SQL component, and directly storing the generated use case as the 'inquiring credit card bill component' by the electronic equipment for subsequent use.
Through the implementation manner, the electronic equipment can realize multiplexing of the target use case so as to achieve the effect of once and for all, and when the use case generation instruction with the same use case information is related again later, the electronic equipment does not need to regenerate the use case, but directly calls from the component list, so that the working efficiency is further improved.
According to the technical scheme, when the use case generation instruction is received, the use case information can be obtained from the use case generation instruction, and the target component is automatically obtained from the pre-maintained component list according to the use case information, so that manual operation is effectively reduced, whether parameters to be transmitted exist in the use case information is further detected, when the parameters to be transmitted exist in the use case information, the parameters to be transmitted and the parameter transmission direction of the parameters to be transmitted are determined from the use case information, and the target component is spliced in the order of splicing by taking the parameter transmission direction as the splicing order, so that the automatic generation of the use case is realized, the time cost is saved, and the working efficiency is further improved.
Fig. 2 is a functional block diagram of a preferred embodiment of the use case generating apparatus of the present invention. The use case generating device 11 includes an acquiring unit 110, a splicing unit 111, a maintenance unit 112, a configuration unit 113, an input unit 114, an execution unit 115, a verification unit 116, a saving unit 117, a display unit 118, an adding unit 119, a transmitting unit 120, a detecting unit 121, a determining unit 122, a generating unit 123, an analyzing unit 124, and a matching unit 125. The module/unit referred to in the present invention refers to a series of computer program segments capable of being executed by the processor 13 and of performing a fixed function, which are stored in the memory 12. In the present embodiment, the functions of the respective modules/units will be described in detail in the following embodiments.
When receiving the use case generation instruction, the acquisition unit 110 acquires the use case information from the use case generation instruction.
In at least one embodiment of the present invention, the obtaining unit 110 receiving the use case generation instruction includes:
(1) The acquiring unit 110 detects a drag operation of a user on an arbitrary component on a configuration interface.
Specifically, the arbitrary component is an important element for generating a use case, and the source of the arbitrary component is not limited by the present invention.
For example: when all the components are displayed on a configuration interface, the user selects any component from the configuration interface and directly drags the selected component to a designated position for generating a use case, and when the acquisition unit 110 detects the drag operation of the user on any component, the user can determine that the use case generation instruction is received.
(2) The acquisition unit 110 detects a touch operation of the user on a configuration key.
Specifically, the configuration key may be a virtual key or an entity key, which is not limited by the present invention.
Further, the touch operation may include, but is not limited to: click operation, double click operation, slide operation, etc.
In at least one embodiment of the present invention, the use case information includes, but is not limited to, one or more of the following combinations:
the method comprises the steps of operating environment, functions which can be realized by the use cases, application scenes of the use cases, parameters to be transmitted, parameter transmission directions of the parameters to be transmitted and the like.
According to the use case information, the obtaining unit 110 obtains a target component from a component list maintained in advance.
In at least one embodiment of the invention, the list of components stores all components that can be utilized to generate a use case.
In at least one embodiment of the present invention, the target component refers to a component that needs to be invoked currently, and is used to generate a currently required use case.
In at least one embodiment of the present invention, before the target component is acquired from the pre-maintained component list according to the use case information, the method further includes:
the configuration unit 113 configures the component list.
Specifically, the configuration unit 113 configures the component list including:
(1) The configuration unit 113 obtains all call interface statements, generates interface components, and maintains the interface components into the component list by taking the interface components as component types.
In at least one embodiment of the invention, the interface component is for implementing invocation of an interface.
(2) The configuration unit 113 obtains all SQL (Structured Query Language ) statements of the call database, generates an SQL component, and maintains the SQL component into the component list with the SQL component as a component type.
In at least one embodiment of the invention, the SQL component is used to implement a database call to facilitate retrieval of data from the database.
(3) The configuration unit 113 obtains all function statements, generates function components, and maintains the function components into the component list by taking the function components as component types.
In at least one embodiment of the present invention, the function component is configured to encapsulate a function, so that the electronic device can call the encapsulated function to implement the corresponding function.
Specifically, the encapsulated functions may include, but are not limited to, one or a combination of the following:
A serial number generation function, a random number generation function, a date generation function, and the like.
(4) The configuration unit 113 obtains all the circulation sentences, generates circulation components, and maintains the circulation components into the component list by taking the circulation components as component types.
In at least one embodiment of the invention, the loop component can realize loop execution of sentences, thereby effectively saving the execution time of programs.
In at least one embodiment of the present invention, the loop component is typically used frequently, but is not applicable in all situations, and thus the configuration unit 113 creates the loop component for subsequent recall according to actual requirements.
(5) The configuration unit 113 obtains a custom statement, generates a custom component, and maintains the custom component into the component list by taking the custom component as a component type.
In at least one embodiment of the present invention, the custom component may be configured by a user according to actual requirements, and the configuration unit 113 maintains the custom component into the component list, so as to facilitate direct call from the component list in subsequent use, thereby saving time.
For example: the user-defined assembly can comprise a time stamp subassembly, and the time stamp subassembly is called to be capable of stamping the execution of the program, so that encryption can be conveniently carried out according to time, and the safety of data is improved.
Through the embodiment, the components needed to be used can be concentrated in the component list, so that the components can be conveniently called at any time.
In at least one embodiment of the present invention, before the target component is acquired from the pre-maintained component list according to the use case information, the method further includes:
the generating unit 123 encapsulates the obtained sentence, generating a component with an interface.
Through the embodiment, the acquired sentences can be converted into the components, so that the subsequent calling according to the requirements is convenient.
In at least one embodiment of the invention, the display unit 118 may display the list of components on a display of the electronic device from which a user may visually see all components in the list of components for selection as desired.
Of course, the adding unit 119 may add a component search function so that the user can directly search for a desired component, facilitating the user's operation.
Through the embodiment, when the user wants to design the use case, the user can select the component in a clicking or dragging mode, so that the operation is convenient and more visual.
In at least one embodiment of the present invention, before the target component is acquired from the pre-maintained component list according to the use case information, the method further includes:
The obtaining unit 110 obtains the historical application data of each component in the component list, the analyzing unit 124 analyzes the historical application data to obtain an analysis result, and the configuration unit 113 configures use case information for each component according to the analysis result.
Specifically, since each component may be adapted to multiple use cases, the configuration unit 113 may configure all adapted use case information for each component, so as to perform matching according to the use case information of each component, and determine the required target component.
In at least one embodiment of the present invention, the obtaining unit 110 obtains, according to the use case information, a target component from a component list maintained in advance, including:
The obtaining unit 110 identifies a key field in the use case information, matches the key field with a field of the use case information of each component in the component list to obtain matched use case information, and further, the obtaining unit 110 obtains a component corresponding to the matched use case information as the target component.
For example: when the use case information is "query credit card bill", the obtaining unit 110 matches the key field "query credit card bill" in the use case information with the field of the use case information of each component in the component list one by one, further obtains the interface component and the SQL component from the component list according to the matching result, and obtains a login interface from the interface component, where the login interface is used for logging in a system, and the SQL component is used for querying data from a database.
Through the above embodiment, the obtaining unit 110 may automatically obtain the required target component from the component list according to the use case information, thereby avoiding trouble brought to the user by manual selection, omitting steps of selecting by the user one by one, saving time cost, saving labor cost, and improving the enthusiasm of the work because the user does not need to perform a large number of repeated and redundant works when writing the program.
The detecting unit 121 detects whether there are parameters to be transferred in the use case information.
In at least one embodiment of the present invention, the parameters to be transferred refer to parameters that need to be transferred between components when the target use case is generated.
In at least one embodiment of the present invention, the splicing mode to be adopted later will also be different according to whether the parameters to be transferred exist or not.
Further, the detecting unit 121 does not limit the manner of detecting whether the parameter to be transferred exists in the use case information.
For example: the detecting unit 121 may detect whether the use case information has parameters to be transferred by detecting keywords or the like.
When the to-be-transferred parameter exists in the use case information, the determining unit 122 determines the to-be-transferred parameter and a parameter transfer direction of the to-be-transferred parameter from the use case information.
It can be understood that, because the use case information includes the parameter to be transferred and the parameter transfer direction of the parameter to be transferred, the determining unit 122 can directly obtain the use case information, so as to facilitate the subsequent splicing operation.
The splicing unit 111 splices the target components in the order of the parameter transmission direction, so as to obtain a target use case.
In at least one embodiment of the present invention, the target use case refers to a last generated use case, including, but not limited to: test cases, development cases, etc.
Through the above embodiment, the intelligent writing of the target use cases can be realized through simple splicing, a large amount of manpower is quickly and unnecessarily used, and the manpower cost is effectively saved.
In at least one embodiment of the invention, the method further comprises:
The input unit 114 inputs an assertion into the target use case, the execution unit 115 executes the target use case to obtain an execution result, and the matching unit 125 matches the execution result with the assertion to obtain a matching degree, and the verification unit 116 verifies the execution result according to the matching degree.
Specifically, the assertions are boolean expressions, and a programmer expects a result in advance when writing a program, the result being an assertion, which can be used as a basis for performing result verification to verify whether the target use case finally generated is accurate and usable.
Further, when the matching degree is greater than or equal to a preset value execution result and the assertion are consistent, the electronic device determines that the target use case passes verification, or when the matching degree is less than the preset value execution result and the assertion are inconsistent, the electronic device determines that the target use case does not pass verification.
Wherein the preset value may include, but is not limited to, 99% and the like, and the present invention is not limited thereto.
In at least one embodiment of the present invention, when the target use case is not verified, the transmitting unit 120 transmits a prompt message to a designated person to prompt the designated person to check the target use case in time to determine a problem point, and further maintain the target use case.
Wherein the designated personnel may include, but are not limited to: testers, developers, etc.
In at least one embodiment of the present invention, when the target use case fails to pass the verification, the obtaining unit 110 may also obtain the execution log of the target use case at the same time, and the sending unit 120 may send the execution log one to the designated person, so as to facilitate the designated person to view.
In at least one embodiment of the invention, after verifying the execution result with the assertion, the method further comprises:
When the target use case passes the verification, the saving unit 117 saves the target use case as a component, the determining unit 122 determines a target component type of the saved component according to the use case information, and the maintenance unit 112 maintains the saved component to the component list based on the target component type.
For example: after the saving unit 117 generates the use case with the use case information of "query credit card bill", the component type is determined to be the SQL component, and the saving unit 117 directly saves the generated use case as "query credit card bill component" for subsequent use.
Through the embodiment, the target use case can be multiplexed, so that the effect of once and forever is achieved, and when the use case generation instruction with the same use case information is related again later, the use case is not required to be regenerated again, but is directly called from the component list, and the working efficiency is further improved.
According to the technical scheme, when the use case generation instruction is received, the use case information can be obtained from the use case generation instruction, and the target component is automatically obtained from the pre-maintained component list according to the use case information, so that manual operation is effectively reduced, whether parameters to be transmitted exist in the use case information is further detected, when the parameters to be transmitted exist in the use case information, the parameters to be transmitted and the parameter transmission direction of the parameters to be transmitted are determined from the use case information, and the target component is spliced in the order of splicing by taking the parameter transmission direction as the splicing order, so that the automatic generation of the use case is realized, the time cost is saved, and the working efficiency is further improved.
Fig. 3 is a schematic structural diagram of an electronic device according to a preferred embodiment of the method for generating an embodiment of the present invention.
The electronic device 1 is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and its hardware includes, but is not limited to, a microprocessor, an Application SPECIFIC INTEGRATED Circuit (ASIC), a Programmable gate array (Field-Programmable GATE ARRAY, FPGA), a digital Processor (DIGITAL SIGNAL Processor, DSP), an embedded device, and the like.
The electronic device 1 may also be, but is not limited to, any electronic product that can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device, for example, a Personal computer, a tablet computer, a smart phone, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), a game console, an interactive internet protocol television (Internet Protocol Television, IPTV), a smart wearable device, and the like.
The electronic device 1 may also be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc.
The network in which the electronic device 1 is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), etc.
In one embodiment of the invention, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and a computer program, such as a use case generation program, stored in the memory 12 and executable on the processor 13.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the electronic device 1 and does not constitute a limitation of the electronic device 1, and may include more or less components than illustrated, or may combine certain components, or different components, e.g. the electronic device 1 may further include input-output devices, network access devices, buses, etc.
The Processor 13 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc., and the processor 13 is an operation core and a control center of the electronic device 1, connects various parts of the entire electronic device 1 using various interfaces and lines, and executes an operating system of the electronic device 1 and various installed applications, program codes, etc.
The processor 13 executes the operating system of the electronic device 1 and various types of applications installed. The processor 13 executes the application program to implement the steps in the above-described respective use case generation method embodiments, such as steps S10, S11, S12, S13, S14 shown in fig. 1.
Or the processor 13, when executing the computer program, performs the functions of the modules/units in the above-described device embodiments, for example: when a use case generation instruction is received, obtaining use case information from the use case generation instruction; acquiring a target component from a pre-maintained component list according to the use case information; detecting whether parameters to be transferred exist in the use case information; when the to-be-transmitted parameters exist in the use case information, determining the to-be-transmitted parameters and the parameter transmission directions of the to-be-transmitted parameters from the use case information; and splicing the target components by taking the parameter transmission direction as a splicing sequence to obtain a target use case.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules/units may be a series of instruction segments of a computer program capable of performing a specific function for describing the execution of the computer program in the electronic device 1. For example, the computer program may be divided into an acquisition unit 110, a splicing unit 111, a maintenance unit 112, a configuration unit 113, an input unit 114, an execution unit 115, a verification unit 116, a saving unit 117, a display unit 118, an adding unit 119, a transmitting unit 120, a detection unit 121, a determination unit 122, a generation unit 123, an analysis unit 124, and a matching unit 125.
The memory 12 may be used to store the computer program and/or module, and the processor 13 may implement various functions of the electronic device 1 by running or executing the computer program and/or module stored in the memory 12 and invoking data stored in the memory 12. The memory 12 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 12 may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart memory card (SMART MEDIA CARD, SMC), secure Digital (SD) card, flash memory card (FLASH CARD), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
The memory 12 may be an external memory and/or an internal memory of the electronic device 1. Further, the Memory 12 may be a circuit with a Memory function, such as a RAM (Random-Access Memory), a FIFO (FIRST IN FIRST Out), etc., which is not in physical form in the integrated circuit. Alternatively, the memory 12 may be a physical memory, such as a memory bank, a TF card (Trans-FLASH CARD), or the like.
The integrated modules/units of the electronic device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above.
Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
In connection with fig. 1, the memory 12 in the electronic device 1 stores a plurality of instructions to implement a use case generating method, the processor 13 being executable to implement: when a use case generation instruction is received, obtaining use case information from the use case generation instruction; acquiring a target component from a pre-maintained component list according to the use case information; detecting whether parameters to be transferred exist in the use case information; when the to-be-transmitted parameters exist in the use case information, determining the to-be-transmitted parameters and the parameter transmission directions of the to-be-transmitted parameters from the use case information; and splicing the target components by taking the parameter transmission direction as a splicing sequence to obtain a target use case.
According to a preferred embodiment of the invention, the processor 13 further executes a plurality of instructions including:
Acquiring all calling interface sentences, generating an interface component, and maintaining the interface component into the component list by taking the interface component as a component type; and/or
Acquiring all SQL sentences of a call database, generating an SQL component, and maintaining the SQL component into the component list by taking the SQL component as a component type; and/or
Acquiring all function sentences, generating a function component, and maintaining the function component into the component list by taking the function component as a component type; and/or
Acquiring all the circulation sentences, generating a circulation component, and maintaining the circulation component into the component list by taking the circulation component as a component type; and/or
And acquiring a custom statement, generating a custom component, and maintaining the custom component into the component list by taking the custom component as a component type.
According to a preferred embodiment of the invention, the processor 13 further executes a plurality of instructions including:
And packaging the obtained sentences to generate the component with the interface.
According to a preferred embodiment of the invention, the processor 13 further executes a plurality of instructions including:
Acquiring historical application data of each component in the component list;
analyzing the historical application data to obtain an analysis result;
And configuring use case information for each component according to the analysis result.
According to a preferred embodiment of the invention, the processor 13 further executes a plurality of instructions including:
identifying key fields in the use case information;
Matching the key field with the field of the use case information of each component in the component list to obtain matched use case information;
and acquiring a component corresponding to the matched use case information as the target component.
According to a preferred embodiment of the invention, the processor 13 further executes a plurality of instructions including:
Inputting assertion into the target use case;
executing the target use case to obtain an execution result;
Matching the execution result with the assertion to obtain a matching degree;
And verifying the execution result according to the matching degree.
According to a preferred embodiment of the invention, the processor 13 further executes a plurality of instructions including:
when the target use case passes the verification, the target use case is saved as a component;
determining the target component type of the stored component according to the use case information;
and maintaining the saved component to the component list based on the target component type.
Specifically, the specific implementation method of the above instructions by the processor 13 may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the system claims can also be implemented by means of software or hardware by means of one unit or means. The terms second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.
Claims (8)
1. A use case generation method, the method comprising:
when a use case generation instruction is received, obtaining use case information from the use case generation instruction;
Acquiring all calling interface sentences, generating an interface component, and maintaining the interface component into a component list by taking the interface component as a component type; and/or acquiring all SQL sentences of a calling database, generating an SQL component, and maintaining the SQL component into the component list by taking the SQL component as a component type; and/or obtaining all function sentences, generating a function component, and maintaining the function component into the component list by taking the function component as a component type; and/or acquiring all the circulation sentences, generating a circulation component, and maintaining the circulation component into the component list by taking the circulation component as a component type; and/or obtaining a custom statement, generating a custom component, and maintaining the custom component into the component list by taking the custom component as a component type;
According to the use case information, acquiring a target component from a pre-maintained component list, wherein the method comprises the following steps: identifying key fields in the use case information; matching the key field with the field of the use case information of each component in the component list to obtain matched use case information; acquiring a component corresponding to the matched use case information as the target component;
Detecting whether parameters to be transferred exist in the use case information comprises the following steps: determining whether the parameters to be transferred exist in the use case information or not by detecting keywords of the parameters to be transferred;
When the use case information contains the parameters to be transmitted, determining the parameters to be transmitted and the parameter transmission direction of the parameters to be transmitted from the use case information, wherein the parameters to be transmitted are parameters transmitted among the target components when the target use case is generated;
and splicing the target components by taking the parameter transmission direction as a splicing sequence to obtain the target use case.
2. The use case generating method according to claim 1, wherein before acquiring the target component from a pre-maintained component list based on the use case information, the method further comprises:
And packaging the obtained sentences to generate the component with the interface.
3. The use case generating method according to claim 1, wherein before acquiring the target component from a pre-maintained component list based on the use case information, the method further comprises:
Acquiring historical application data of each component in the component list;
analyzing the historical application data to obtain an analysis result;
And configuring use case information for each component according to the analysis result.
4. The use case generating method according to claim 1, wherein the method further comprises:
Inputting assertion into the target use case;
executing the target use case to obtain an execution result;
Matching the execution result with the assertion to obtain a matching degree;
And verifying the execution result according to the matching degree.
5. The use case generating method according to claim 4, wherein after verifying the execution result according to the matching degree, the method further comprises:
when the target use case passes the verification, the target use case is saved as a component;
determining the target component type of the stored component according to the use case information;
and maintaining the saved component to the component list based on the target component type.
6. A use case generating apparatus, characterized in that the apparatus includes a unit that implements the use case generating method according to any one of claims 1 to 5, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring case information from a case generation instruction when the case generation instruction is received;
the acquisition unit is further used for acquiring a target component from a pre-maintained component list according to the use case information;
The detection unit is used for detecting whether parameters to be transmitted exist in the use case information;
the determining unit is used for determining the parameters to be transmitted and the parameter transmission direction of the parameters to be transmitted from the use case information when the parameters to be transmitted exist in the use case information;
and the splicing unit is used for splicing the target components in a splicing sequence by taking the parameter transmission direction as a splicing sequence to obtain a target use case.
7. An electronic device, the electronic device comprising:
a memory storing at least one instruction; and
A processor executing instructions stored in the memory to implement the use case generation method of any one of claims 1 to 5.
8. A computer-readable storage medium, characterized by: the computer-readable storage medium has stored therein at least one instruction that is executed by a processor in an electronic device to implement the use case generation method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910442279.1A CN110309062B (en) | 2019-05-24 | 2019-05-24 | Use case generation method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910442279.1A CN110309062B (en) | 2019-05-24 | 2019-05-24 | Use case generation method, device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110309062A CN110309062A (en) | 2019-10-08 |
CN110309062B true CN110309062B (en) | 2024-05-10 |
Family
ID=68075725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910442279.1A Active CN110309062B (en) | 2019-05-24 | 2019-05-24 | Use case generation method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110309062B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113051149B (en) * | 2019-12-27 | 2023-11-17 | 深圳云天励飞技术有限公司 | Use case parameter generation method and device |
CN118519920A (en) * | 2024-07-24 | 2024-08-20 | 中邮消费金融有限公司 | Automatic test method, device, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447898A (en) * | 2008-11-19 | 2009-06-03 | 中国人民解放军信息安全测评认证中心 | Test system used for network safety product and test method thereof |
CN109783350A (en) * | 2018-12-13 | 2019-05-21 | 重庆金融资产交易所有限责任公司 | Interface test method, device and computer readable storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8984339B2 (en) * | 2012-01-31 | 2015-03-17 | Bank Of America Corporation | System and method for test case generation using components |
US10281484B2 (en) * | 2014-05-02 | 2019-05-07 | Qualcomm Incorporated | Motion direction determination and application |
-
2019
- 2019-05-24 CN CN201910442279.1A patent/CN110309062B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447898A (en) * | 2008-11-19 | 2009-06-03 | 中国人民解放军信息安全测评认证中心 | Test system used for network safety product and test method thereof |
CN109783350A (en) * | 2018-12-13 | 2019-05-21 | 重庆金融资产交易所有限责任公司 | Interface test method, device and computer readable storage medium |
Non-Patent Citations (1)
Title |
---|
一种基于业务模型的快速自动化用例开发方法;吁玲等;《自动化应用》;20171130(第11期);70-71+78 * |
Also Published As
Publication number | Publication date |
---|---|
CN110309062A (en) | 2019-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108415832B (en) | Interface automation test method, device, equipment and storage medium | |
US11132436B2 (en) | FPGA cloud host development method and system | |
US10175954B2 (en) | Method of processing big data, including arranging icons in a workflow GUI by a user, checking process availability and syntax, converting the workflow into execution code, monitoring the workflow, and displaying associated information | |
CN110321283B (en) | Interface test case generation method and device, computer device and storage medium | |
CN109614327B (en) | Method and apparatus for outputting information | |
CN111797351A (en) | Page data management method and device, electronic equipment and medium | |
CN111651363B (en) | Test data acquisition method and device, electronic equipment and medium | |
CN112269799A (en) | Data query method, device, equipment and medium | |
CN112667638B (en) | Dynamic report generation method and device, terminal equipment and readable storage medium | |
CN110309062B (en) | Use case generation method, device, electronic equipment and storage medium | |
CN108255967B (en) | Method and device for calling storage process, storage medium and terminal | |
CN112882863A (en) | Method, device and system for recovering data and electronic equipment | |
CN111367531A (en) | Code processing method and device | |
CN112948467B (en) | Data processing method and device, computer equipment and storage medium | |
CN110879701B (en) | Workflow visual configuration method, server, system and medium | |
CN116610354A (en) | Parameter verification method, device, computer equipment and storage medium | |
CN114371969B (en) | Page performance testing method and device, electronic equipment and storage medium | |
CN115629940A (en) | Micro-service full-link tracking method, device, system and medium | |
CN115576978A (en) | Method, device, system and medium for responding service processing request | |
CN112947984B (en) | Application program development method and device | |
CN113935847A (en) | Online process risk processing method, device, server and medium | |
CN114398152A (en) | Interface simulation service calling method and device | |
CN114900569B (en) | Test script acquisition method and device | |
CN109561146A (en) | Document down loading method, device, terminal device | |
CN114785847B (en) | Network control software development configuration method, terminal and storage medium |
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 |