Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality
The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation
Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common
The application protection all should belong in technical staff's every other embodiment obtained without creative efforts
Range.
For the testing efficiency for improving service logic, the embodiment of the present application provides a kind of service logic test method and dress
It sets, is described in detail with reference to the accompanying drawing.
Fig. 1 is the schematic diagram of a scenario for the service logic test that one embodiment of the application provides, as shown in Figure 1, the scene packet
Test equipment 100 is included, service logic test method provided by the embodiments of the present application can be applied in test equipment 100, by surveying
Equipment 100 is tried to execute.Test equipment 100 can be apparatus such as computer.It is tested by service logic provided by the embodiments of the present application
Method, tester can be tested using service logic of the test equipment 100 to all kinds of business.
Fig. 2 is the flow diagram for the service logic test method that one embodiment of the application provides, as shown in Fig. 2, the stream
Journey the following steps are included:
Step S202 receives the first input operation of user, is operated according to the first input, corresponding in all types of business
It selection target operation flow template and is loaded in each operation flow template;Wherein, operation flow template includes multiple business processings
Connection relationship between node and each service processing node;
Step S204 receives user for the second input operation of target service flow template, is operated according to the second input,
Target service flow template is edited;
Step S206 is based on edited target service flow template, carries out service logic test.
In the embodiment of the present application, it can be operated according to the first of user the input, in all types of corresponding each business of business
It selection target operation flow template and loads in flow template, and is operated according to the second of user the input, to target service process
Template is edited, and, it is based on edited target service flow template, carries out service logic test.Therefore pass through this reality
Apply example, it is only necessary to target service flow template is edited, edited target service flow template is based on, it can
Service logic test is carried out, without writing test code manually, the testing efficiency of service logic is improved, it is complicated to reduce test
Degree.
Also, operation flow template can show the connection between multiple service processing nodes and each service processing node
Relationship, simple and convenient to the visual edit of target service flow template, maintenance cost is low, improves the test effect of service logic
Rate reduces test complexity.
Also, in the present embodiment, user can directly select target service flow template, and target service flow template can be with
Business process map is provided, user is not necessarily to manual creation business process map, improves the testing efficiency of service logic, reduce test
Complexity.
In the present embodiment, it is provided with corresponding operation flow template for various types of business, for example, for payment class industry
Business is provided with payment class template, is provided with reimbursement class template for reimbursement class business, is provided with return of goods class template for return of goods class business.
The corresponding each operation flow template of all types of business can be shown in the present embodiment, in test equipment.First input operation can
To be the operation for selecting operation flow template in each operation flow template of display.
In above-mentioned steps S202, test equipment is operated according to the first of user the input, corresponding each in all types of business
It selection target operation flow template and is loaded in operation flow template.Wherein, target service flow template is loaded, it specifically can be with
It is: obtains the template data of target service flow template in local data base or remote data base, loads target service stream
The template data of journey template.For example, test equipment obtains the template data of target service flow template simultaneously in the local database
Load, alternatively, test equipment obtains template data and the load of target service flow template in remote data base.
Operation flow template is used to show the connection relationship between multiple service processing nodes and each service processing node.
Fig. 3 is the schematic diagram for the operation flow template that one embodiment of the application provides, and the operation flow template in Fig. 3 corresponds to reimbursement class industry
Business, the operation flow template include start node, lower single node, payment node, reimbursement node and end node, and each node is such as
Connection shown in Fig. 3.
It is understood that target service flow template is the corresponding each operation flow template of all types of business of user's selection
In one, therefore the structure of target service flow template and attribute are identical as operation flow template, are also used for showing multiple industry
Connection relationship between business processing node and each service processing node.
In the present embodiment, in operation flow template, service processing node has corresponding business processing parameter, to pay section
For point, business processing parameter can be payment amount, time of payment etc., and by taking reimbursement node as an example, business processing parameter can be with
It is refund amount, reimbursement time etc..In operation flow template, each service processing node all has corresponding one or more industry
Business processing parameter.
In one situation, the second input operation checks sub-operation and the first modification sub-operation, above-mentioned steps including first
In S202, is operated according to the second input, target service flow template is edited, it can be with are as follows: sub-operation is checked according to first,
The default value of business processing parameter in displaying target operation flow template, according to the first modification sub-operation, to target service stream
The default value of business processing parameter in journey template is modified.
Specifically, in operation flow template, the business processing parameter of each service processing node has default value.This implementation
In example, sub-operation is checked according to first, the business of each service processing node into user's displaying target operation flow template
The default value of processing parameter, then, according to the first modification sub-operation, to each business processing section in target service flow template
The default value of the business processing parameter of point is modified.
Certainly, user can not also modify to the default value of business processing parameter, directly be carried out using the default value
Service logic test.
Fig. 4 is the schematic diagram of the default value for the business processing parameter that one embodiment of the application provides, as shown in figure 4, target
Operation flow template corresponds to reimbursement class business, and target service flow template includes start node, lower single node, payment node, moves back
Money node and end node, wherein the business processing parameter of reimbursement node includes refund amount and reimbursement path.Target service stream
In journey template, the default value of refund amount is 500 yuan, and the default value in reimbursement path is payment path, namely according to payment path
Carry out reimbursement.User can the default value of default value and reimbursement path to refund amount modify.
As it can be seen that in through this embodiment, tester before testing, without writing the generation of setting business processing parameter manually
Code need to only modify to the default value of business processing parameter in target service flow template, improve testing efficiency, drop
Low test complexity.
In the present embodiment, in operation flow template, service processing node has corresponding service processing result item, with payment
For node, service processing result item may include for indicate payment whether successful pay status item, can also include use
It can also include for indicating more than the Merchant Account of Merchant Account remaining sum in the user account remaining sum item for indicating user account remaining sum
Volume item.In operation flow template, each service processing node all has corresponding one or more service processing result items.
In one situation, the second input operation checks sub-operation and the second modification sub-operation, above-mentioned steps including second
In S202, is operated according to the second input, target service flow template is edited, it can be with are as follows: sub-operation is checked according to second,
The corresponding each service processing result item of service processing node in displaying target operation flow template, wherein at each business
Service processing result including target service flow template default in reason result items checks that item, service processing result check that item is used for
Service processing result is checked after the completion of service logic test, according to the second modification sub-operation, changes target service flow template
The service processing result of default checks item, reselects business in each service processing result Xiang Zhongwei target service flow template
Processing result checks item.
Specifically, in operation flow template, there is each service processing node the service processing result of default to check item, industry
Business processing result checks that item is in the service processing result item of the service processing node of operation flow template, is operation flow mould
The project that plate is chosen in advance.After the completion of service logic test, test equipment can show that service processing result checks that item is corresponding
Service processing result, consequently facilitating tester understand service processing result it is whether correct.
Fig. 5 is that the service processing result of the default for the service processing node that one embodiment of the application provides checks the signal of item
Figure, as shown in figure 5, target service flow template corresponds to reimbursement class business, target service flow template includes start node, places an order
Node, payment node, reimbursement node and end node, wherein the service processing result item of reimbursement node include reimbursement status items,
User account remaining sum item, Merchant Account remaining sum item.Test equipment setting reimbursement status items and user account remaining sum item are default
Service processing result checks item, to show reimbursement state and user account remaining sum after the completion of service logic is tested, convenient for surveying
Whether examination personnel understand service processing result correct.
In the present embodiment, sub-operation can be checked by second, the business processing section in displaying target operation flow template
The corresponding each service processing result item of point, wherein include that target service flow template is defaulted in each service processing result item
Service processing result check item.Then, by the second modification sub-operation, at the business that change target service flow template is defaulted
Reason result checks item, reselects service processing result in each service processing result Xiang Zhongwei target service flow template and checks
, for example, the user account remaining sum in setting Fig. 5 is not that service processing result checks item, increase Merchant Account remaining sum is business
Processing result checks item.
As it can be seen that through this embodiment, tester before testing, looks into without writing code setting service processing result manually
It sees item, need to only check that item is changed to the service processing result defaulted in target service flow template, improve test
Efficiency reduces test complexity.
Also, through this embodiment, service processing result is set in target service flow template and checks item, avoids survey
Examination personnel omit the problem of checking service processing result, improve testing efficiency.
Certainly, the service processing result that user can also decide not to modify default according to testing requirement checks item, directly looks into
See that the service processing result of the default checks item.
In the present embodiment, in operation flow template, service processing node has corresponding one or more business realizing sides
Method, the service implementation method for realizing the service processing node service logic.For example, service processing node is payment section
Point, corresponding three service implementation methods of payment node, the method for payment 1 that respectively payment system A is provided, payment system B are provided
Method of payment 2, payment system C provide method of payment 3, method of payment 1,2,3 can be realized by different classes, can
Realize the payment logic of the payment node.
In one situation, the second input operation includes that third checks sub-operation and third modification sub-operation, above-mentioned steps
In S202, is operated according to the second input, target service flow template is edited, it can be with are as follows: sub-operation is checked according to third,
The corresponding each service implementation method of service processing node in displaying target operation flow template, in each service implementation method
Service implementation method to be tested including target service flow template default modifies sub-operation according to third, changes target industry
The service implementation method to be tested for flow template default of being engaged in is target service flow template weight in each service implementation method
New selection service implementation method.
Specifically, in operation flow template, each service processing node has the service implementation method to be tested of default,
For example, the service implementation method to be tested of payment node default is the method for payment 1 that payment system A is provided, i.e. default passes through
Method of payment 1 realizes the payment logic of payment node, in order to test method of payment 1.
Fig. 6 is showing for the service implementation method to be tested of the default for the service processing node that one embodiment of the application provides
Be intended to, as shown in fig. 6, target service flow template corresponds to reimbursement class business, target service flow template include start node, under
Single node, payment node, reimbursement node and end node, wherein the service implementation method for paying node includes that payment system A is mentioned
The method of payment 3 of method of payment 2, payment system C offer that the method for payment 1 of confession, payment system B are provided.Test equipment setting
Method of payment 1 is the service implementation method to be tested of default, namely during the test, method of payment 1 is called to realize payment
The service logic of node achievees the effect that test method of payment 1.
In the present embodiment, sub-operation can be checked by third, at each business in displaying target operation flow template
The corresponding each service implementation method of node is managed, includes the to be measured of target service flow template default in each service implementation method
Then the service implementation method of examination modifies sub-operation, the industry to be tested of change target service flow template default by third
Business implementation method, reselects service implementation method in each service implementation method for target service flow template.For example, setting
The method of payment 1 set in Fig. 6 is not the method for payment of default, reselects method of payment 2 for target service flow template, thus
Achieve the effect that test method of payment 2.Wherein, the service implementation method of service processing node can be encapsulated by test equipment in advance
Good, user is not necessarily to pay close attention to the internal logic of service implementation method, without progress written in code, it is only necessary to select business realizing side
Method.
As it can be seen that business to be tested is arranged before testing, without writing code manually in tester in through this embodiment
Implementation method need to only change the service implementation method to be tested defaulted in target service flow template, improve
Testing efficiency, reduces test complexity.
Certainly, user can not also modify the service implementation method to be tested of default, directly test the business of the default
Implementation method.
In another situation, the second input operation includes the 4th modification sub-operation, defeated according to second in above-mentioned steps S202
Enter operation, target service flow template is edited, it can be with are as follows: according to the 4th modification sub-operation, in target service process mould
Service processing node is increased or decreased in plate, and modifies the connection relationship between each service processing node.
In the case of operation flow and inconsistent operation flow to be tested in target service flow template, Ke Yitong
The 4th modification sub-operation is crossed, service processing node is increased or decreased in target service flow template, and modify at each business
Manage node between connection relationship, thus by the operation flow in target service flow template adjust to Business Stream to be tested
Cheng Xiangtong.
As it can be seen that in through this embodiment, it can be by adjusting service processing node and section in target service flow template
The mode of point connection relationship adjusts operation flow, has reached without writing code manually and has been tested various businesses process
Effect improves testing efficiency, reduces test complexity.
It is understood that also can pass through front for the service processing node newly increased in target service flow template
Mode modify business processing parameter, service implementation method to be tested, default service processing result check item etc., here not
It repeats.
It is understood that in a specific embodiment, can be carried out by way of front according to actual needs following
At least one in movement or combination, are not repeated herein.The movement include: modification business processing parameter, modification it is to be tested
The service processing result that service implementation method, modification are defaulted checks item, increases or decreases service processing node and adjusts each industry
Connection relationship between business processing node.
In the present embodiment, in above-mentioned steps S206, it is based on edited target service flow template, carries out service logic survey
Examination, can be with are as follows: according to the connection relationship between each service processing node in edited target service flow template, successively
The corresponding service logic of each service processing node is run, and exports the operation result of each service processing node.
Fig. 7 is the schematic diagram for the edited target service flow template that one embodiment of the application provides, as shown in fig. 7,
Edited target service flow template corresponds to reimbursement class business, target service flow template include start node, lower single node,
Pay node, the first reimbursement node, the second reimbursement node and end node.It, can be according to editor shown in Fig. 7 in the present embodiment
The connection relationship between each service processing node in target service flow template afterwards, successively runs each business processing section
The corresponding service logic of point, and export the operation result of each service processing node.Operation result includes running successfully or running
Failure, further includes that the service processing result of each service processing node of aforementioned setting checks the information of item, such as the first reimbursement
The service processing result of node checks that item includes Merchant Account remaining sum item and user account remaining sum item, then exports the first reimbursement node
Merchant Account remaining sum information and user account remaining sum information, in order to tester understand service logic operation feelings
Condition.
It,, can if operation failure when successively running the corresponding service logic of each service processing node in the present embodiment
With out of service, and failure cause or continuous service are exported until running successfully.
To sum up, service logic test method provided by the embodiments of the present application, has the advantages that
(1) it is capable of providing the corresponding each operation flow template of all types of business, user only needs selection target operation flow
Template is not necessarily to manual creation operation flow;
(2) operation flow template includes that service processing result checks the important informations such as item, avoids user from omitting and checks industry
Business processing result;
(3) user can directly modify business processing parameter in target service flow template, service processing result is checked
Connection relationship between the quantity and node of item, service implementation method to be tested and service processing node is not necessarily to manually more
Changing code, and the visual edit of target service flow template is very convenient, test maintaining is at low cost, testing efficiency is promoted,
Reduce test complexity;
(4) additions and deletions service processing node and node can be modified in target service flow template for particular service user
Between connection relationship promote testing efficiency without writing test code manually, reduce test complexity.
The embodiment of the present application also provides a kind of service logic test device, Fig. 8 is the industry that one embodiment of the application provides
The module composition schematic diagram of business logic testing device, as shown in figure 8, the device includes:
Loading module 81 operates, all types of for receiving the first input operation of user according to first input
It selection target operation flow template and is loaded in the corresponding each operation flow template of business;Wherein, the operation flow template packet
Include the connection relationship between multiple service processing nodes and each service processing node;
Editor module 82, for receiving user for the second input operation of the target service flow template, according to institute
The second input operation is stated, the target service flow template is edited;
Test module 83 carries out service logic test for being based on the edited target service flow template.
Optionally, the loading module 81 is specifically used for:
The template data of the target service flow template is obtained in local data base or remote data base;
Load the template data of the target service flow template.
Optionally, in the operation flow template, the service processing node has corresponding business processing parameter;It is described
Second input operation checks sub-operation and the first modification sub-operation including first;
The editor module 82 is specifically used for:
Sub-operation is checked according to described first, shows the business processing parameter in the target service flow template
Default value;
According to the first modification sub-operation, modify to the default value of the business processing parameter.
Optionally, in the operation flow template, the service processing node has corresponding service processing result item;Institute
It states the second input operation and checks sub-operation and the second modification sub-operation including second;
The editor module 82 is specifically used for:
Sub-operation is checked according to described second, shows that the service processing node in the target service flow template is corresponding
Each service processing result item;It wherein, include that the target service flow template is defaulted in each service processing result item
Service processing result check item;The service processing result checks item for checking at business after the completion of service logic test
Manage result;
According to the second modification sub-operation, the service processing result of the target service flow template default is changed
Check item, the target service flow template described in each service processing result Xiang Zhongwei reselects service processing result and looks into
See item.
Optionally, in the operation flow template, the service processing node has corresponding service implementation method, described
Service implementation method for realizing the service processing node service logic;The second input operation includes that third checks son
Operation and third modify sub-operation;
The editor module 82 is specifically used for:
Sub-operation is checked according to the third, shows that the service processing node in the target service flow template is corresponding
Each service implementation method;Wherein, in each service implementation method include the target service flow template default to
The service implementation method of test;
Sub-operation is modified according to the third, changes the business to be tested of the target service flow template default
Implementation method is that the target service flow template reselects service implementation method in each service implementation method.
Optionally, the second input operation includes the 4th modification sub-operation;
The editor module 82 is specifically used for:
According to the 4th modification sub-operation, business processing section is increased or decreased in the target service flow template
Point, and modify the connection relationship between each service processing node.
Optionally, the test module 83 is specifically used for:
According to the connection relationship between each service processing node in the edited target service flow template, according to
It is secondary to run the corresponding service logic of each service processing node, and export the operation result of each service processing node.
In the embodiment of the present application, it can be operated according to the first of user the input, in all types of corresponding each business of business
It selection target operation flow template and loads in flow template, and is operated according to the second of user the input, to target service process
Template is edited, and, it is based on edited target service flow template, carries out service logic test.Therefore pass through this reality
Apply example, it is only necessary to target service flow template is edited, edited target service flow template is based on, it can
Service logic test is carried out, without writing test code manually, the testing efficiency of service logic is improved, it is complicated to reduce test
Degree.
Service logic test device provided by the embodiments of the present application can be realized the process in preceding method embodiment, and reach
To identical effect, it is not repeated herein.
Further, the embodiment of the present application also provides a kind of service logic test equipment, Fig. 9 is one embodiment of the application
The structural schematic diagram of the service logic test equipment of offer, as shown in figure 9, service logic test equipment can because configuration or performance not
With and generate bigger difference, may include one or more processor 901 and memory 902, in memory 902
One or more storage application programs or data are can store.Wherein, memory 902 can be of short duration storage or lasting
Storage.The application program for being stored in memory 902 may include one or more modules (diagram is not shown), each module
It may include to the series of computation machine executable instruction in service logic test equipment.Further, processor 901 can be with
It is set as communicating with memory 902, the series of computation machine executed in service logic test equipment in memory 902 is executable
Instruction.Service logic test equipment can also include one or more power supplys 903, one or more are wired or wireless
Network interface 904, one or more input/output interfaces 905, one or more keyboards 906 etc..
In a specific embodiment, service logic test equipment include memory and one or more
Program, perhaps more than one program is stored in memory and one or more than one program may include for one of them
One or more modules, and each module may include executable to the series of computation machine in service logic test equipment
Instruction, and be configured to execute this or more than one program by one or more than one processor to include for carrying out
Following computer executable instructions:
The the first input operation for receiving user, operates according to first input, in all types of corresponding each industry of business
It selection target operation flow template and is loaded in business flow template;Wherein, the operation flow template includes multiple business processings
Connection relationship between node and each service processing node;
User is received for the second input operation of the target service flow template, is operated according to second input,
The target service flow template is edited;
Based on the edited target service flow template, service logic test is carried out.
Optionally, computer executable instructions when executed, load the target service flow template, comprising:
The template data of the target service flow template is obtained in local data base or remote data base;
Load the template data of the target service flow template.
Optionally, computer executable instructions when executed, in the operation flow template, the service processing node
With corresponding business processing parameter;The second input operation checks sub-operation and the first modification sub-operation including first;
It is described to be operated according to second input, the target service flow template is edited, comprising:
Sub-operation is checked according to described first, shows the business processing parameter in the target service flow template
Default value;
According to the first modification sub-operation, modify to the default value of the business processing parameter.
Optionally, computer executable instructions when executed, in the operation flow template, the service processing node
With corresponding service processing result item;The second input operation checks sub-operation and the second modification sub-operation including second;
It is described to be operated according to second input, the target service flow template is edited, comprising:
Sub-operation is checked according to described second, shows that the service processing node in the target service flow template is corresponding
Each service processing result item;It wherein, include that the target service flow template is defaulted in each service processing result item
Service processing result check item;The service processing result checks item for checking at business after the completion of service logic test
Manage result;
According to the second modification sub-operation, the service processing result of the target service flow template default is changed
Check item, the target service flow template described in each service processing result Xiang Zhongwei reselects service processing result and looks into
See item.
Optionally, computer executable instructions when executed, in the operation flow template, the service processing node
With corresponding service implementation method, the service implementation method for realizing the service processing node service logic;Institute
Stating the second input operation includes that third checks sub-operation and third modification sub-operation;
It is described to be operated according to second input, the target service flow template is edited, comprising:
Sub-operation is checked according to the third, shows that the service processing node in the target service flow template is corresponding
Each service implementation method;Wherein, in each service implementation method include the target service flow template default to
The service implementation method of test;
Sub-operation is modified according to the third, changes the business to be tested of the target service flow template default
Implementation method is that the target service flow template reselects service implementation method in each service implementation method.
Optionally, when executed, the second input operation includes the 4th modification sub-operation to computer executable instructions;
It is described to be operated according to second input, the target service flow template is edited, comprising:
According to the 4th modification sub-operation, business processing section is increased or decreased in the target service flow template
Point, and modify the connection relationship between each service processing node.
Optionally, computer executable instructions are when executed, described to be based on the edited target service process mould
Plate carries out service logic test, comprising:
According to the connection relationship between each service processing node in the edited target service flow template, according to
It is secondary to run the corresponding service logic of each service processing node, and export the operation result of each service processing node.
In the embodiment of the present application, it can be operated according to the first of user the input, in all types of corresponding each business of business
It selection target operation flow template and loads in flow template, and is operated according to the second of user the input, to target service process
Template is edited, and, it is based on edited target service flow template, carries out service logic test.Therefore pass through this reality
Apply example, it is only necessary to target service flow template is edited, edited target service flow template is based on, it can
Service logic test is carried out, without writing test code manually, the testing efficiency of service logic is improved, it is complicated to reduce test
Degree.
Service logic test equipment provided by the embodiments of the present application can be realized the process in preceding method embodiment, and reach
To identical effect, it is not repeated herein.
Further, the embodiment of the present application also provides a kind of storage medium, for storing computer executable instructions, one
In kind specific embodiment, which can be USB flash disk, CD, hard disk etc., and the computer of storage medium storage is executable
Instruction is able to achieve following below scheme when being executed by processor:
The the first input operation for receiving user, operates according to first input, in all types of corresponding each industry of business
It selection target operation flow template and is loaded in business flow template;Wherein, the operation flow template includes multiple business processings
Connection relationship between node and each service processing node;
User is received for the second input operation of the target service flow template, is operated according to second input,
The target service flow template is edited;
Based on the edited target service flow template, service logic test is carried out.
Optionally, the computer executable instructions of storage medium storage load the target when being executed by processor
Operation flow template, comprising:
The template data of the target service flow template is obtained in local data base or remote data base;
Load the template data of the target service flow template.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the operation flow
In template, the service processing node has corresponding business processing parameter;The second input operation checks son including first
Operation and the first modification sub-operation;
It is described to be operated according to second input, the target service flow template is edited, comprising:
Sub-operation is checked according to described first, shows the business processing parameter in the target service flow template
Default value;
According to the first modification sub-operation, modify to the default value of the business processing parameter.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the operation flow
In template, the service processing node has corresponding service processing result item;The second input operation is checked including second
Sub-operation and the second modification sub-operation;
It is described to be operated according to second input, the target service flow template is edited, comprising:
Sub-operation is checked according to described second, shows that the service processing node in the target service flow template is corresponding
Each service processing result item;It wherein, include that the target service flow template is defaulted in each service processing result item
Service processing result check item;The service processing result checks item for checking at business after the completion of service logic test
Manage result;
According to the second modification sub-operation, the service processing result of the target service flow template default is changed
Check item, the target service flow template described in each service processing result Xiang Zhongwei reselects service processing result and looks into
See item.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the operation flow
In template, the service processing node has corresponding service implementation method, and the service implementation method is for realizing the industry
The service logic of business processing node;The second input operation includes that third checks sub-operation and third modification sub-operation;
It is described to be operated according to second input, the target service flow template is edited, comprising:
Sub-operation is checked according to the third, shows that the service processing node in the target service flow template is corresponding
Each service implementation method;Wherein, in each service implementation method include the target service flow template default to
The service implementation method of test;
Sub-operation is modified according to the third, changes the business to be tested of the target service flow template default
Implementation method is that the target service flow template reselects service implementation method in each service implementation method.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, second input
Operation includes the 4th modification sub-operation;
It is described to be operated according to second input, the target service flow template is edited, comprising:
According to the 4th modification sub-operation, business processing section is increased or decreased in the target service flow template
Point, and modify the connection relationship between each service processing node.
Optionally, the computer executable instructions of storage medium storage are described based on editor when being executed by processor
The target service flow template afterwards carries out service logic test, comprising:
According to the connection relationship between each service processing node in the edited target service flow template, according to
It is secondary to run the corresponding service logic of each service processing node, and export the operation result of each service processing node.
In the embodiment of the present application, it can be operated according to the first of user the input, in all types of corresponding each business of business
It selection target operation flow template and loads in flow template, and is operated according to the second of user the input, to target service process
Template is edited, and, it is based on edited target service flow template, carries out service logic test.Therefore pass through this reality
Apply example, it is only necessary to target service flow template is edited, edited target service flow template is based on, it can
Service logic test is carried out, without writing test code manually, the testing efficiency of service logic is improved, it is complicated to reduce test
Degree.
The computer executable instructions of storage medium storage provided by the embodiments of the present application, can when being executed by processor
It realizes the process in preceding method embodiment, and reaches identical effect, be not repeated herein.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group
Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.