CN107885656A - Product algorithm automated testing method and application server - Google Patents
Product algorithm automated testing method and application server Download PDFInfo
- Publication number
- CN107885656A CN107885656A CN201710819574.5A CN201710819574A CN107885656A CN 107885656 A CN107885656 A CN 107885656A CN 201710819574 A CN201710819574 A CN 201710819574A CN 107885656 A CN107885656 A CN 107885656A
- Authority
- CN
- China
- Prior art keywords
- product algorithm
- test
- calculation
- modeling event
- result
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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/3688—Test management for test execution, e.g. scheduling of test suites
Abstract
The invention discloses a kind of product algorithm automated testing method, this method includes:Page info corresponding to the declaration form of correlation is tested described in typing, and is inserted into the corresponding traffic table of database layer;Database layer interface corresponding to each modeling event of the test is called, is calculated with completing business processing corresponding to each modeling event and product algorithm;The correctness of each result of calculation of automatic checking, judgement test whether to pass through.The present invention also provides a kind of application server and computer-readable recording medium.Product algorithm automated testing method, application server and computer-readable recording medium provided by the invention can quickly and easily carry out new product test of heuristics and regression test.
Description
Technical field
The present invention relates to data test technical field, more particularly to a kind of product algorithm automated testing method and application clothes
Business device.
Background technology
New product test of heuristics is always a severe bottleneck of linear velocity on new product for a long time, and reason is as follows:One
The execution of individual case is related to the operation of multiple operation systems;The operating procedure of one case is more;Time-consuming for one case execution;One
Individual step operation is incorrect, then needs to do again from the beginning;Easily error hand-manipulated and it is undiscovered, cause to investigate problem hard;
Algorithm errors are more, test repeatedly more;Algorithm errors, exploitation investigation problem hard, time-consuming;Web page automates, and is related to multiple
System and common platform, flow are complicated, it is difficult to and it is stable, also it is difficult to safeguard, so can not automate by web.
Just because of above reason, causes the test period of one group of new product very long, it is impossible to meet business on new product
The requirement of linear velocity, more because case performs, time-consuming, and the regression test of this Core Feature can not be carried out in the recurrence stage.
The content of the invention
In view of this, the present invention proposes a kind of product algorithm automated testing method and application server, with solve how
The problem of quickly and easily carrying out new product test of heuristics and regression test.
First, to achieve the above object, the present invention proposes a kind of product algorithm automated testing method, and this method includes step
Suddenly:
Page info corresponding to the declaration form of correlation is tested described in typing, and is inserted into the corresponding traffic table of database layer;
Database layer interface corresponding to each modeling event of the test is called, to complete business corresponding to each modeling event
Processing and product algorithm calculate;And
The correctness of each result of calculation of automatic checking, judgement test whether to pass through.
Alternatively, this method also includes step:
Various modeling events are set according to production life cycle;
Selection needs to participate in the modeling event of the test.
Alternatively, this method also includes step:
Record the product algorithm case tested, generation product algorithm regression test storehouse.
Alternatively, the modeling event includes:Insure and produce declaration form, bonus takes out shelves and shelves, omnipotent knot are taken out in distribution, existence gold
Calculate, throw to link and calculate, renew premium charge or arrearage, the projects saved from damage are accepted, Claims Resolution processing.
Alternatively, the correctness of each result of calculation of the automatic checking, judgement test whether by the step of specifically wrap
Include:
After the business processing of each modeling event is complete, obtained result of calculation is contrasted with expected results;
When each result of calculation is correct, judges that test passes through, otherwise judge test crash;
Record tests whether the mark passed through.
In addition, to achieve the above object, the present invention also provides a kind of application server, including memory, processor and deposits
The product algorithm automatization test system that can be run on the memory and on the processor is stored up, the product algorithm is certainly
Following steps are realized when dynamicization test system is by the computing device:
Page info corresponding to the declaration form of correlation is tested described in typing, and is inserted into the corresponding traffic table of database layer;
Database layer interface corresponding to each modeling event of the test is called, to complete business corresponding to each modeling event
Processing and product algorithm calculate;And
The correctness of each result of calculation of automatic checking, judgement test whether to pass through.
Alternatively, the product algorithm automatization test system by the computing device when also realize step:
Various modeling events are set according to production life cycle;
Selection needs to participate in the modeling event of the test.
Alternatively, the product algorithm automatization test system by the computing device when also realize step:
Record the product algorithm case tested, generation product algorithm regression test storehouse.
Alternatively, the correctness of each result of calculation of the automatic checking, judgement test whether by the step of specifically wrap
Include:
After the business processing of each modeling event is complete, obtained result of calculation is contrasted with expected results;
When each result of calculation is correct, judges that test passes through, otherwise judge test crash;
Record tests whether the mark passed through.
Further, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, the computer
Readable storage medium storing program for executing is stored with product algorithm automatization test system, and the product algorithm automatization test system can be by least one
Individual computing device, so that the step of at least one computing device product algorithm automated testing method described above.
Compared to prior art, product algorithm automated testing method, application server and calculating proposed by the invention
Machine readable storage medium storing program for executing, the automation of product algorithm case test can be completed independent of application layer and in database layer, i.e., it is logical
Cross and simulate insuring out for each operation system single, charge, declaration form change, Claims Resolution are accepted etc., and data caused by event are inserted into business
Correlation table, then may by calling each operation system relevant interface to complete whole life cycle each stage of declaration form coming few decades
The business processing of the modeling event of generation, so as to realize the automation of product test of heuristics, quickly obtain test result.In addition,
The product algorithm case tested is cumulative and establish Recurrent Sets, to the product algorithm of Recurrent Sets before the issue of each version
Case is verified again by automated procedures, more effectively ensures the quality of version issue.
Brief description of the drawings
Fig. 1 is each optional application environment schematic diagram of embodiment one of the present invention;
Fig. 2 is the schematic diagram of one optional hardware structure of application server in Fig. 1;
Fig. 3 is the program module schematic diagram of product algorithm automatization test system first embodiment of the present invention;
Fig. 4 is the program module schematic diagram of product algorithm automatization test system second embodiment of the present invention;
Fig. 5 is the program module schematic diagram of product algorithm automatization test system 3rd embodiment of the present invention;
Fig. 6 is the schematic flow sheet of product algorithm automated testing method first embodiment of the present invention;
Fig. 7 is the schematic flow sheet of product algorithm automated testing method second embodiment of the present invention;
Fig. 8 is the schematic flow sheet of product algorithm automated testing method 3rd embodiment of the present invention.
Reference:
Mobile terminal | 1 |
Application server | 2 |
Network | 3 |
Memory | 11 |
Processor | 12 |
Network interface | 13 |
Product algorithm automatization test system | 200 |
Recording module | 201 |
Calling module | 202 |
Judge module | 203 |
Setup module | 204 |
Selecting module | 205 |
Regression block | 206 |
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not
For limiting the present invention.Based on the embodiment in the present invention, those of ordinary skill in the art are not before creative work is made
The every other embodiment obtained is put, belongs to the scope of protection of the invention.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is only used for describing purpose, and can not
It is interpreted as indicating or implies its relative importance or imply the quantity of the technical characteristic indicated by indicating.Thus, define " the
One ", at least one this feature can be expressed or be implicitly included to the feature of " second ".In addition, the skill between each embodiment
Art scheme can be combined with each other, but must can be implemented as basis with those of ordinary skill in the art, when technical scheme
With reference to occurring conflicting or will be understood that the combination of this technical scheme is not present when can not realize, also not in application claims
Protection domain within.
As shown in fig.1, it is each optional application environment schematic diagram of embodiment one of the present invention.
In the present embodiment, present invention can apply to include but not limited to, mobile terminal 1, application server 2, network
In 3 application environment.Wherein, the mobile terminal 1 can be that mobile phone, smart phone, notebook computer, digital broadcasting connect
Receive device, PDA (personal digital assistant), PAD (tablet personal computer), PMP (portable media player), guider, vehicle-mounted dress
The movable equipment put etc., and the fixed terminal of such as digital TV, desktop computer, notebook, server etc..It is described
Application server 2 can be that the calculating such as rack-mount server, blade server, tower server or Cabinet-type server are set
Standby, the application server 2 can be the server cluster that independent server or multiple servers are formed.It is described
Network 3 can be intranet (Intranet), internet (Internet), global system for mobile communications (Global
System of Mobile communication, GSM), WCDMA (Wideband Code Division
Multiple Access, WCDMA), 4G networks, 5G networks, bluetooth (Bluetooth), Wi-Fi, speech path network etc. is wireless or has
Gauze network.
Wherein, in the application server 2 by the network 3 respectively with one or more mobile terminals 1 (in figure
Only show one) communicate to connect, it is respectively mounted and has run corresponding with the application server 2 in each described mobile terminal 1
Application client (hereinafter " mobile terminal client terminal ").The mobile terminal client terminal is used to respond mobile terminal
The operation of user, long connection is created between the mobile terminal client terminal and the application server 2, so that described mobile whole
End client can be carried out data transmission and be interacted with the application server 2 by the long connection.
As shown in fig.2, it is the schematic diagram of 2 one optional hardware structure of application server in Fig. 1.In the present embodiment, institute
Stating application server 2 may include, but be not limited only to, and connection memory 11, processor 12, net can be in communication with each other by system bus
Network interface 13.It is pointed out that Fig. 2 illustrate only the mobile terminal 1 with component 11-13, it should be understood that not
It is required that implement all components shown, the more or less component of the implementation that can be substituted.
Wherein, the memory 11 comprises at least a type of readable storage medium storing program for executing, and the readable storage medium storing program for executing includes
Flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), it is static with
Machine access memory (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), it is programmable only
Read memory (PROM), magnetic storage, disk, CD etc..In certain embodiments, the memory 11 can be described answers
With the hard disk or internal memory of the internal storage unit of server 2, such as the application server 2.In further embodiments, it is described to deposit
Reservoir 11 can also be that the plug-in type being equipped with the External memory equipment of the application server 2, such as the application server 2 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Certainly, the memory 11 can also both include the internal storage unit of the application server 2 or wrap
Include its External memory equipment.In the present embodiment, the memory 11 is generally used for the behaviour that storage is installed on the application server 2
Make system and types of applications software, such as program code of the product algorithm automatization test system 200 etc..It is in addition, described
Memory 11 can be also used for temporarily storing the Various types of data that has exported or will export.
The processor 12 can be in certain embodiments central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips.The processor 12 is generally used for should described in control
With the overall operation of server 2, such as perform the control related with the mobile terminal 1 progress data interaction or communication and place
Reason etc..In the present embodiment, the processor 12 is used to run the program code stored in the memory 11 or processing data,
Such as run described product algorithm automatization test system 200 etc..
The network interface 13 may include radio network interface or wired network interface, and the network interface 13 is generally used for
Communication connection is established between the application server 2 and other electronic equipments.In the present embodiment, the network interface 13 is mainly used
In the application server 2 is connected with one or more mobile terminals 1 by the network 3, in the application service
Data transmission channel and communication connection are established between device 2 and one or more of mobile terminals 1.
So far, oneself is through describing the application environment of each embodiment of the present invention and the hardware configuration and work(of relevant device in detail
Energy.Below, above-mentioned application environment and relevant device will be based on, proposes each embodiment of the present invention.
First, the present invention proposes a kind of product algorithm automatization test system 200.
As shown in fig.3, it is the Program modual graph of the first embodiment of product algorithm automatization test system 200 of the present invention.
In the present embodiment, described product algorithm automatization test system 200 can be divided into one or more modules, one
Or multiple modules are stored in the memory 11, and (it is the processing in the present embodiment by one or more processors
Device 12) it is performed, to complete the present invention.For example, in figure 3, described product algorithm automatization test system 200 can be divided
It is cut into recording module 201, calling module 202, judge module 203.Program module alleged by the present invention be refer to complete it is specific
The series of computation machine programmed instruction section of function, than program more suitable for describing the product algorithm automatization test system 200
Implementation procedure in the application server 2.The function of putting up with each program module 201-203 below is described in detail.
The recording module 201, for testing page info corresponding to the declaration form of correlation described in typing, and it is inserted into data
In the corresponding traffic table of storehouse layer.
Specifically, the recording module 201 is needed according to the product algorithm case, and product algorithm described in typing automates
The page info that the related declaration form of test is related to, such as insurer's information, insurant's information, insurance kind information etc..Then, it is described
The information of typing is inserted into the related service table of database layer by recording module 201, corresponding to being obtained during follow-up test
Information.
The calling module 202, for calling database layer interface corresponding to each modeling event of the test, to complete
Business processing corresponding to each modeling event and product algorithm calculate.
Specifically, the modeling event for participating in the test can be pre-selected, the calling module 202 is according to selected
Modeling event, database layer interface corresponding to the modeling event is called, obtains corresponding data, so as to carry out the simulation thing
Business processing corresponding to part and product algorithm calculate, and obtain result of calculation.
The modeling event includes:(1) insure produce declaration form, detailed process include insure, core protect, it is downpayment charge, accept insurance.
(2) bonus takes out shelves and distribution, existence gold take out shelves, omnipotent clearing, throw link calculation etc..(3) premium charge or arrearage are renewed.(4) protect
Full projects are accepted, such as:Surrender, subtract guarantor plus protect, newly-increased accessory risk, bonus is got, the golden collar that survive takes, omnipotent/portion of throwing company
Point get, derating is paid up, way to pay dues change, from the change of pad right to choose, dividend option change, imitate again etc..(5) loss department
Reason.
The judge module 203, for the correctness of each result of calculation of automatic checking, judgement tests whether to pass through.
Specifically, it can all be contrasted after the business processing of each modeling event is complete with expected results, check the calculating
As a result correctness, and record the mark whether passed through.Wherein, result of calculation corresponding to the modeling event (1) includes premium
Etc. policy information, result of calculation corresponding to modeling event (2) includes bonus information, the golden information of existence, omnipotent settlement information, the company of throwing
Settlement information etc., result of calculation corresponding to modeling event (3) include renewing premium etc., result of calculation corresponding to modeling event (4)
Including move back expense, mend take, declaration form fresh information etc., result of calculation corresponding to modeling event (5) includes settle a claim gold, declaration form fresh information etc..
If each result of calculation is correct, test passes through.
As shown in fig.4, it is the Program modual graph of the second embodiment of product algorithm automatization test system 200 of the present invention.
In the present embodiment, described product algorithm automatization test system 200 is except including the recording module in first embodiment
201st, outside calling module 202, judge module 203, in addition to setup module 204 and selecting module 205.
The setup module 204 is used to set various modeling events according to production life cycle.
Specifically, the modeling event includes:(1) insure and produce declaration form, detailed process is including insuring, core is protected, downpayment receipts
Take, accept insurance.(2) bonus takes out shelves and distribution, existence gold take out shelves, omnipotent clearing, throw link calculation etc..(3) renew premium charge or owe
Take.(4) projects saved from damage are accepted, such as:Surrender, subtract guarantor plus protect, newly-increased accessory risk, bonus is got, the golden collar that survives takes, ten thousand
Energy/throwing even partly get, derating is paid up, way to pay dues change, from pad right to choose change, dividend option change, again imitate etc..
(5) Claims Resolution is handled.
The selecting module 205 is used to select to need to participate in the modeling event of the test.
Specifically, above-mentioned various modeling events contain the important service processing being related to during life insurance products test of heuristics
Process, when carrying out the test of product algorithm case, any combination of above-mentioned various modeling events can be selected as needed.
As shown in fig.5, it is the Program modual graph of the 3rd embodiment of product algorithm automatization test system 200 of the present invention.
In the present embodiment, described product algorithm automatization test system 200 is on the basis of second embodiment, in addition to regression block
206。
The regression block 206 is used to record the product algorithm case tested, generation product algorithm regression test storehouse.
Specifically, regression block 206 is cumulative by the product algorithm case of automatic test and establish back by the past
Return casebook, be stored in product algorithm regression test storehouse.To the product algorithm regression test storehouse before the issue of each version
In product algorithm case carry out retesting checking, will more effectively ensure version issue quality.
In addition, the present invention also proposes a kind of product algorithm automated testing method.
As shown in fig.6, it is the schematic flow sheet of product algorithm automated testing method first embodiment of the present invention.At this
In embodiment, according to different demands, the execution sequence of the step in flow chart shown in Fig. 6 can change, and some steps can
To omit.
Step S600, page info corresponding to the declaration form of correlation is tested described in typing, and be inserted into the correspondence of database layer
In traffic table.
Specifically, according to the product algorithm case, the related declaration form of product algorithm automatic test described in typing is related to
Page info, such as insurer's information, insurant's information, insurance kind information etc..Then, the information of typing is inserted into data
In the related service table of storehouse layer, so as to information corresponding to acquisition during follow-up test.
Step S602, database layer interface corresponding to each modeling event of the test is called, to complete each modeling event
Corresponding business processing and product algorithm calculate.
Specifically, the modeling event for participating in the test can be pre-selected, according to selected modeling event, call institute
Database layer interface corresponding to modeling event is stated, obtains corresponding data, so as to carry out corresponding to the modeling event at business
Reason and product algorithm calculate, and obtain result of calculation.
The modeling event includes:(1) insure produce declaration form, detailed process include insure, core protect, it is downpayment charge, accept insurance.
(2) bonus takes out shelves and distribution, existence gold take out shelves, omnipotent clearing, throw link calculation etc..(3) premium charge or arrearage are renewed.(4) protect
Full projects are accepted, such as:Surrender, subtract guarantor plus protect, newly-increased accessory risk, bonus is got, the golden collar that survive takes, omnipotent/portion of throwing company
Point get, derating is paid up, way to pay dues change, from the change of pad right to choose, dividend option change, imitate again etc..(5) loss department
Reason.
Step S604, the correctness of each result of calculation of automatic checking, judgement test whether to pass through.
Specifically, it can all be contrasted after the business processing of each modeling event is complete with expected results, check the calculating
As a result correctness, and record the mark whether passed through.Wherein, result of calculation corresponding to the modeling event (1) includes premium
Etc. policy information, result of calculation corresponding to modeling event (2) includes bonus information, the golden information of existence, omnipotent settlement information, the company of throwing
Settlement information etc., result of calculation corresponding to modeling event (3) include renewing premium etc., result of calculation corresponding to modeling event (4)
Including move back expense, mend take, declaration form fresh information etc., result of calculation corresponding to modeling event (5) includes settle a claim gold, declaration form fresh information etc..
If each result of calculation is correct, test passes through, and otherwise judges test crash.
The product algorithm automated testing method that the present embodiment is proposed, can be independent of application layer and complete in database layer
Into the automation of product algorithm case test, i.e., data caused by modeling event are inserted into business correlation table, then pass through tune
The modeling event that may be occurred with whole life cycle each stage of each operation system relevant interface completion declaration form coming few decades
Business processing, so as to realize the automation of product test of heuristics, quickly obtain test result.
As shown in fig. 7, it is the schematic flow sheet of the second embodiment of product algorithm automated testing method of the present invention.This reality
Apply in example, the step S704-S708 of the product algorithm automated testing method and the step S600-S604 phases of first embodiment
Similar, difference is that this method also includes step S700-S702.
This method comprises the following steps:
Step S700, various modeling events are set according to production life cycle.
Specifically, the modeling event includes:(1) insure and produce declaration form, detailed process is including insuring, core is protected, downpayment receipts
Take, accept insurance.(2) bonus takes out shelves and distribution, existence gold take out shelves, omnipotent clearing, throw link calculation etc..(3) renew premium charge or owe
Take.(4) projects saved from damage are accepted, such as:Surrender, subtract guarantor plus protect, newly-increased accessory risk, bonus is got, the golden collar that survives takes, ten thousand
Energy/throwing even partly get, derating is paid up, way to pay dues change, from pad right to choose change, dividend option change, again imitate etc..
(5) Claims Resolution is handled.
Step S702, selection need to participate in the modeling event of the test.
Specifically, above-mentioned various modeling events contain the important service processing being related to during life insurance products test of heuristics
Process, when carrying out the test of product algorithm case, any combination of above-mentioned various modeling events can be selected as needed.
Step S704, page info corresponding to the declaration form of correlation is tested described in typing, and be inserted into the correspondence of database layer
In traffic table.
Specifically, according to the product algorithm case, the related declaration form of product algorithm automatic test described in typing is related to
Page info, such as insurer's information, insurant's information, insurance kind information etc..Then, the information of typing is inserted into data
In the related service table of storehouse layer, so as to information corresponding to acquisition during follow-up test.
Step S706, database layer interface corresponding to each modeling event of the test is called, to complete each modeling event
Corresponding business processing and product algorithm calculate.
Specifically, the modeling event for participating in the test can be pre-selected, according to selected modeling event, call institute
Database layer interface corresponding to modeling event is stated, obtains corresponding data, so as to carry out corresponding to the modeling event at business
Reason and product algorithm calculate, and obtain result of calculation.
Step S708, the correctness of each result of calculation of automatic checking, judgement test whether to pass through.
Specifically, it can all be contrasted after the business processing of each modeling event is complete with expected results, check the calculating
As a result correctness, and record the mark whether passed through.Wherein, result of calculation corresponding to the modeling event (1) includes premium
Etc. policy information, result of calculation corresponding to modeling event (2) includes bonus information, the golden information of existence, omnipotent settlement information, the company of throwing
Settlement information etc., result of calculation corresponding to modeling event (3) include renewing premium etc., result of calculation corresponding to modeling event (4)
Including move back expense, mend take, declaration form fresh information etc., result of calculation corresponding to modeling event (5) includes settle a claim gold, declaration form fresh information etc..
If each result of calculation is correct, test passes through, and otherwise judges test crash.
The product algorithm automated testing method that the present embodiment is proposed, can be independent of application layer and complete in database layer
Into the automation of product algorithm case test, i.e., by simulating single insuring out for each operation system, charge, declaration form change, Claims Resolution
The event such as accept, selection needs the modeling event tested, data caused by modeling event is inserted into business correlation table, then lead to
Cross the simulation for calling whole life cycle each stage of each operation system relevant interface completion declaration form coming few decades to occur
The business processing of event, so as to realize the automation of product test of heuristics, quickly obtain test result.
As shown in figure 8, it is the schematic flow sheet of the 3rd embodiment of product algorithm automated testing method of the present invention.This reality
Apply in example, the step S800-S808 of the product algorithm automated testing method and the step S700-S708 phases of second embodiment
Similar, difference is that this method also includes step S810.
This method comprises the following steps:
Step S800, various modeling events are set according to production life cycle.
Specifically, the modeling event includes:(1) insure and produce declaration form, detailed process is including insuring, core is protected, downpayment receipts
Take, accept insurance.(2) bonus takes out shelves and distribution, existence gold take out shelves, omnipotent clearing, throw link calculation etc..(3) renew premium charge or owe
Take.(4) projects saved from damage are accepted, such as:Surrender, subtract guarantor plus protect, newly-increased accessory risk, bonus is got, the golden collar that survives takes, ten thousand
Energy/throwing even partly get, derating is paid up, way to pay dues change, from pad right to choose change, dividend option change, again imitate etc..
(5) Claims Resolution is handled.
Step S802, selection need to participate in the modeling event of the test.
Specifically, above-mentioned various modeling events contain the important service processing being related to during life insurance products test of heuristics
Process, when carrying out the test of product algorithm case, any combination of above-mentioned various modeling events can be selected as needed.
Step S804, page info corresponding to the declaration form of correlation is tested described in typing, and be inserted into the correspondence of database layer
In traffic table.
Specifically, according to the product algorithm case, the related declaration form of product algorithm automatic test described in typing is related to
Page info, such as insurer's information, insurant's information, insurance kind information etc..Then, the information of typing is inserted into data
In the related service table of storehouse layer, so as to information corresponding to acquisition during follow-up test.
Step S806, database layer interface corresponding to each modeling event of the test is called, to complete each modeling event
Corresponding business processing and product algorithm calculate.
Specifically, the modeling event for participating in the test can be pre-selected, according to selected modeling event, call institute
Database layer interface corresponding to modeling event is stated, obtains corresponding data, so as to carry out corresponding to the modeling event at business
Reason and product algorithm calculate, and obtain result of calculation.
Step S808, the correctness of each result of calculation of automatic checking, judgement test whether to pass through.
Specifically, it can all be contrasted after the business processing of each modeling event is complete with expected results, check the calculating
As a result correctness, and record the mark whether passed through.Wherein, result of calculation corresponding to the modeling event (1) includes premium
Etc. policy information, result of calculation corresponding to modeling event (2) includes bonus information, the golden information of existence, omnipotent settlement information, the company of throwing
Settlement information etc., result of calculation corresponding to modeling event (3) include renewing premium etc., result of calculation corresponding to modeling event (4)
Including move back expense, mend take, declaration form fresh information etc., result of calculation corresponding to modeling event (5) includes settle a claim gold, declaration form fresh information etc..
If each result of calculation is correct, test passes through, and otherwise judges test crash.
Step S810, record the product algorithm case tested, generation product algorithm regression test storehouse.
Specifically, it is the past is cumulative by the product algorithm case of automatic test and establish regressive case collection, protect
Exist in product algorithm regression test storehouse., can be to the production in the product algorithm regression test storehouse before the issue of each version
Product algorithm case carries out retesting checking.
The product algorithm automated testing method that the present embodiment is proposed, product algorithm regression test is obtained by accumulation
Storehouse, the product algorithm case in the product algorithm regression test storehouse is carried out retesting checking before the issue of each version,
The quality of version issue will more effectively be ensured.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of product algorithm automated testing method, applied to application server, it is characterised in that methods described includes step
Suddenly:
Page info corresponding to the declaration form of correlation is tested described in typing, and is inserted into the corresponding traffic table of database layer;
Database layer interface corresponding to each modeling event of the test is called, to complete business processing corresponding to each modeling event
Calculated with product algorithm;And
The correctness of each result of calculation of automatic checking, judgement test whether to pass through.
2. product algorithm automated testing method as claimed in claim 1, it is characterised in that this method also includes step:
Various modeling events are set according to production life cycle;
Selection needs to participate in the modeling event of the test.
3. product algorithm automated testing method as claimed in claim 2, it is characterised in that this method also includes step:
Record the product algorithm case tested, generation product algorithm regression test storehouse.
4. product algorithm automated testing method as claimed in claim 1, it is characterised in that the modeling event includes:Throw
Protect and produce declaration form, bonus takes out shelves and distribution, existence gold take out shelves, omnipotent clearing, throw to link and calculate, and renews premium charge or arrearage, protects
Full projects are accepted, Claims Resolution processing.
5. product algorithm automated testing method as claimed in claim 1, it is characterised in that each calculating of automatic checking
As a result correctness, judgement test whether by the step of specifically include:
After the business processing of each modeling event is complete, obtained result of calculation is contrasted with expected results;
When each result of calculation is correct, judges that test passes through, otherwise judge test crash;
Record tests whether the mark passed through.
6. a kind of application server, it is characterised in that the application server includes memory, processor and is stored in described deposit
On reservoir and the product algorithm automatization test system that can run on the processor, the product algorithm automatic test system
Following steps are realized when system is by the computing device:
Page info corresponding to the declaration form of correlation is tested described in typing, and is inserted into the corresponding traffic table of database layer;
Database layer interface corresponding to each modeling event of the test is called, to complete business processing corresponding to each modeling event
Calculated with product algorithm;And
The correctness of each result of calculation of automatic checking, judgement test whether to pass through.
7. application server as claimed in claim 6, it is characterised in that the product algorithm automatization test system is described
Step is also realized during computing device:
Various modeling events are set according to production life cycle;
Selection needs to participate in the modeling event of the test.
8. application server as claimed in claim 7, it is characterised in that the product algorithm automatization test system is described
Step is also realized during computing device:
Record the product algorithm case tested, generation product algorithm regression test storehouse.
9. application server as claimed in claim 6, it is characterised in that each result of calculation of automatic checking it is correct
Property, judgement test whether by the step of specifically include:
After the business processing of each modeling event is complete, obtained result of calculation is contrasted with expected results;
When each result of calculation is correct, judges that test passes through, otherwise judge test crash;
Record tests whether the mark passed through.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has product algorithm automatic test
System, enterprise's recommended program can be by least one computing devices, so that at least one computing device such as right
It is required that the step of product algorithm automated testing method any one of 1-5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710819574.5A CN107885656B (en) | 2017-09-13 | 2017-09-13 | Automatic product algorithm testing method and application server |
PCT/CN2018/089889 WO2019052234A1 (en) | 2017-09-13 | 2018-06-05 | Automated test method for product algorithm, and application server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710819574.5A CN107885656B (en) | 2017-09-13 | 2017-09-13 | Automatic product algorithm testing method and application server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107885656A true CN107885656A (en) | 2018-04-06 |
CN107885656B CN107885656B (en) | 2021-02-09 |
Family
ID=61780626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710819574.5A Active CN107885656B (en) | 2017-09-13 | 2017-09-13 | Automatic product algorithm testing method and application server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107885656B (en) |
WO (1) | WO2019052234A1 (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019052234A1 (en) * | 2017-09-13 | 2019-03-21 | 平安科技(深圳)有限公司 | Automated test method for product algorithm, and application server |
CN110020958A (en) * | 2019-02-11 | 2019-07-16 | 阿里巴巴集团控股有限公司 | One kind is insured and insures link test method, device and equipment |
CN110084707A (en) * | 2019-04-04 | 2019-08-02 | 阿里巴巴集团控股有限公司 | Fee deduction treatment method, apparatus, electronic equipment and storage medium |
US11277361B2 (en) | 2020-05-03 | 2022-03-15 | Monday.com Ltd. | Digital processing systems and methods for variable hang-time for social layer messages in collaborative work systems |
US11277452B2 (en) | 2020-05-01 | 2022-03-15 | Monday.com Ltd. | Digital processing systems and methods for multi-board mirroring of consolidated information in collaborative work systems |
US11301623B2 (en) | 2020-02-12 | 2022-04-12 | Monday.com Ltd | Digital processing systems and methods for hybrid scaling/snap zoom function in table views of collaborative work systems |
US11307753B2 (en) | 2019-11-18 | 2022-04-19 | Monday.Com | Systems and methods for automating tablature in collaborative work systems |
US11361156B2 (en) | 2019-11-18 | 2022-06-14 | Monday.Com | Digital processing systems and methods for real-time status aggregation in collaborative work systems |
US11392556B1 (en) | 2021-01-14 | 2022-07-19 | Monday.com Ltd. | Digital processing systems and methods for draft and time slider for presentations in collaborative work systems |
US11410129B2 (en) | 2010-05-01 | 2022-08-09 | Monday.com Ltd. | Digital processing systems and methods for two-way syncing with third party applications in collaborative work systems |
US11436359B2 (en) | 2018-07-04 | 2022-09-06 | Monday.com Ltd. | System and method for managing permissions of users for a single data type column-oriented data structure |
US11698890B2 (en) | 2018-07-04 | 2023-07-11 | Monday.com Ltd. | System and method for generating a column-oriented data structure repository for columns of single data types |
US11741071B1 (en) | 2022-12-28 | 2023-08-29 | Monday.com Ltd. | Digital processing systems and methods for navigating and viewing displayed content |
US11829953B1 (en) | 2020-05-01 | 2023-11-28 | Monday.com Ltd. | Digital processing systems and methods for managing sprints using linked electronic boards |
US11886683B1 (en) | 2022-12-30 | 2024-01-30 | Monday.com Ltd | Digital processing systems and methods for presenting board graphics |
US11893381B1 (en) | 2023-02-21 | 2024-02-06 | Monday.com Ltd | Digital processing systems and methods for reducing file bundle sizes |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101789002A (en) * | 2010-01-22 | 2010-07-28 | 浪潮(北京)电子信息产业有限公司 | Database compatibility test device and method for server |
US20120290326A1 (en) * | 2008-10-31 | 2012-11-15 | Joseph Bernstein | Authorization process for high intensity medical interventions |
CN103810196A (en) * | 2012-11-09 | 2014-05-21 | 阿里巴巴集团控股有限公司 | Method for testing performance of database on basis of business model |
CN103901307A (en) * | 2014-04-22 | 2014-07-02 | 上海扬梓投资管理有限公司 | Testing system and method applied to vehicle-mounted multimedia device |
CN106383812A (en) * | 2016-08-30 | 2017-02-08 | 泰康保险集团股份有限公司 | New contract policy test method and apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7386763B2 (en) * | 2004-07-07 | 2008-06-10 | Agilent Technologies, Inc. | Proactive systemic scheduler for resource limited test systems |
CN104899141B (en) * | 2015-06-05 | 2017-08-04 | 北京航空航天大学 | A kind of test cases selection and extending method of network-oriented application system |
CN107885656B (en) * | 2017-09-13 | 2021-02-09 | 平安科技(深圳)有限公司 | Automatic product algorithm testing method and application server |
-
2017
- 2017-09-13 CN CN201710819574.5A patent/CN107885656B/en active Active
-
2018
- 2018-06-05 WO PCT/CN2018/089889 patent/WO2019052234A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120290326A1 (en) * | 2008-10-31 | 2012-11-15 | Joseph Bernstein | Authorization process for high intensity medical interventions |
CN101789002A (en) * | 2010-01-22 | 2010-07-28 | 浪潮(北京)电子信息产业有限公司 | Database compatibility test device and method for server |
CN103810196A (en) * | 2012-11-09 | 2014-05-21 | 阿里巴巴集团控股有限公司 | Method for testing performance of database on basis of business model |
CN103901307A (en) * | 2014-04-22 | 2014-07-02 | 上海扬梓投资管理有限公司 | Testing system and method applied to vehicle-mounted multimedia device |
CN106383812A (en) * | 2016-08-30 | 2017-02-08 | 泰康保险集团股份有限公司 | New contract policy test method and apparatus |
Cited By (55)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11410129B2 (en) | 2010-05-01 | 2022-08-09 | Monday.com Ltd. | Digital processing systems and methods for two-way syncing with third party applications in collaborative work systems |
WO2019052234A1 (en) * | 2017-09-13 | 2019-03-21 | 平安科技(深圳)有限公司 | Automated test method for product algorithm, and application server |
US11436359B2 (en) | 2018-07-04 | 2022-09-06 | Monday.com Ltd. | System and method for managing permissions of users for a single data type column-oriented data structure |
US11698890B2 (en) | 2018-07-04 | 2023-07-11 | Monday.com Ltd. | System and method for generating a column-oriented data structure repository for columns of single data types |
CN110020958A (en) * | 2019-02-11 | 2019-07-16 | 阿里巴巴集团控股有限公司 | One kind is insured and insures link test method, device and equipment |
CN110084707A (en) * | 2019-04-04 | 2019-08-02 | 阿里巴巴集团控股有限公司 | Fee deduction treatment method, apparatus, electronic equipment and storage medium |
US11775890B2 (en) | 2019-11-18 | 2023-10-03 | Monday.Com | Digital processing systems and methods for map-based data organization in collaborative work systems |
US11526661B2 (en) | 2019-11-18 | 2022-12-13 | Monday.com Ltd. | Digital processing systems and methods for integrated communications module in tables of collaborative work systems |
US11507738B2 (en) | 2019-11-18 | 2022-11-22 | Monday.Com | Digital processing systems and methods for automatic updates in collaborative work systems |
US11727323B2 (en) | 2019-11-18 | 2023-08-15 | Monday.Com | Digital processing systems and methods for dual permission access in tables of collaborative work systems |
US11361156B2 (en) | 2019-11-18 | 2022-06-14 | Monday.Com | Digital processing systems and methods for real-time status aggregation in collaborative work systems |
US11307753B2 (en) | 2019-11-18 | 2022-04-19 | Monday.Com | Systems and methods for automating tablature in collaborative work systems |
US11301623B2 (en) | 2020-02-12 | 2022-04-12 | Monday.com Ltd | Digital processing systems and methods for hybrid scaling/snap zoom function in table views of collaborative work systems |
US11687706B2 (en) | 2020-05-01 | 2023-06-27 | Monday.com Ltd. | Digital processing systems and methods for automatic display of value types based on custom heading in collaborative work systems |
US11755827B2 (en) | 2020-05-01 | 2023-09-12 | Monday.com Ltd. | Digital processing systems and methods for stripping data from workflows to create generic templates in collaborative work systems |
US11354624B2 (en) | 2020-05-01 | 2022-06-07 | Monday.com Ltd. | Digital processing systems and methods for dynamic customized user experience that changes over time in collaborative work systems |
US11348070B2 (en) | 2020-05-01 | 2022-05-31 | Monday.com Ltd. | Digital processing systems and methods for context based analysis during generation of sub-board templates in collaborative work systems |
US11367050B2 (en) | 2020-05-01 | 2022-06-21 | Monday.Com, Ltd. | Digital processing systems and methods for customized chart generation based on table data selection in collaborative work systems |
US11954428B2 (en) | 2020-05-01 | 2024-04-09 | Monday.com Ltd. | Digital processing systems and methods for accessing another's display via social layer interactions in collaborative work systems |
US11907653B2 (en) | 2020-05-01 | 2024-02-20 | Monday.com Ltd. | Digital processing systems and methods for network map visualizations of team interactions in collaborative work systems |
US11397922B2 (en) | 2020-05-01 | 2022-07-26 | Monday.Com, Ltd. | Digital processing systems and methods for multi-board automation triggers in collaborative work systems |
US11410128B2 (en) | 2020-05-01 | 2022-08-09 | Monday.com Ltd. | Digital processing systems and methods for recommendation engine for automations in collaborative work systems |
US11301812B2 (en) | 2020-05-01 | 2022-04-12 | Monday.com Ltd. | Digital processing systems and methods for data visualization extrapolation engine for widget 360 in collaborative work systems |
US11416820B2 (en) | 2020-05-01 | 2022-08-16 | Monday.com Ltd. | Digital processing systems and methods for third party blocks in automations in collaborative work systems |
US11301814B2 (en) | 2020-05-01 | 2022-04-12 | Monday.com Ltd. | Digital processing systems and methods for column automation recommendation engine in collaborative work systems |
US11886804B2 (en) | 2020-05-01 | 2024-01-30 | Monday.com Ltd. | Digital processing systems and methods for self-configuring automation packages in collaborative work systems |
US11475408B2 (en) * | 2020-05-01 | 2022-10-18 | Monday.com Ltd. | Digital processing systems and methods for automation troubleshooting tool in collaborative work systems |
US11829953B1 (en) | 2020-05-01 | 2023-11-28 | Monday.com Ltd. | Digital processing systems and methods for managing sprints using linked electronic boards |
US11347721B2 (en) | 2020-05-01 | 2022-05-31 | Monday.com Ltd. | Digital processing systems and methods for automatic application of sub-board templates in collaborative work systems |
US11501256B2 (en) | 2020-05-01 | 2022-11-15 | Monday.com Ltd. | Digital processing systems and methods for data visualization extrapolation engine for item extraction and mapping in collaborative work systems |
US11501255B2 (en) | 2020-05-01 | 2022-11-15 | Monday.com Ltd. | Digital processing systems and methods for virtual file-based electronic white board in collaborative work systems |
US11301811B2 (en) | 2020-05-01 | 2022-04-12 | Monday.com Ltd. | Digital processing systems and methods for self-monitoring software recommending more efficient tool usage in collaborative work systems |
US11301813B2 (en) | 2020-05-01 | 2022-04-12 | Monday.com Ltd. | Digital processing systems and methods for hierarchical table structure with conditional linking rules in collaborative work systems |
US11531966B2 (en) | 2020-05-01 | 2022-12-20 | Monday.com Ltd. | Digital processing systems and methods for digital sound simulation system |
US11277452B2 (en) | 2020-05-01 | 2022-03-15 | Monday.com Ltd. | Digital processing systems and methods for multi-board mirroring of consolidated information in collaborative work systems |
US11537991B2 (en) | 2020-05-01 | 2022-12-27 | Monday.com Ltd. | Digital processing systems and methods for pre-populating templates in a tablature system |
US11587039B2 (en) | 2020-05-01 | 2023-02-21 | Monday.com Ltd. | Digital processing systems and methods for communications triggering table entries in collaborative work systems |
US11675972B2 (en) | 2020-05-01 | 2023-06-13 | Monday.com Ltd. | Digital processing systems and methods for digital workflow system dispensing physical reward in collaborative work systems |
US11275742B2 (en) | 2020-05-01 | 2022-03-15 | Monday.com Ltd. | Digital processing systems and methods for smart table filter with embedded boolean logic in collaborative work systems |
US11282037B2 (en) | 2020-05-01 | 2022-03-22 | Monday.com Ltd. | Digital processing systems and methods for graphical interface for aggregating and dissociating data from multiple tables in collaborative work systems |
US11277361B2 (en) | 2020-05-03 | 2022-03-15 | Monday.com Ltd. | Digital processing systems and methods for variable hang-time for social layer messages in collaborative work systems |
US11397847B1 (en) | 2021-01-14 | 2022-07-26 | Monday.com Ltd. | Digital processing systems and methods for display pane scroll locking during collaborative document editing in collaborative work systems |
US11726640B2 (en) | 2021-01-14 | 2023-08-15 | Monday.com Ltd. | Digital processing systems and methods for granular permission system for electronic documents in collaborative work systems |
US11531452B2 (en) | 2021-01-14 | 2022-12-20 | Monday.com Ltd. | Digital processing systems and methods for group-based document edit tracking in collaborative work systems |
US11687216B2 (en) | 2021-01-14 | 2023-06-27 | Monday.com Ltd. | Digital processing systems and methods for dynamically updating documents with data from linked files in collaborative work systems |
US11481288B2 (en) | 2021-01-14 | 2022-10-25 | Monday.com Ltd. | Digital processing systems and methods for historical review of specific document edits in collaborative work systems |
US11782582B2 (en) | 2021-01-14 | 2023-10-10 | Monday.com Ltd. | Digital processing systems and methods for detectable codes in presentation enabling targeted feedback in collaborative work systems |
US11475215B2 (en) | 2021-01-14 | 2022-10-18 | Monday.com Ltd. | Digital processing systems and methods for dynamic work document updates using embedded in-line links in collaborative work systems |
US11449668B2 (en) | 2021-01-14 | 2022-09-20 | Monday.com Ltd. | Digital processing systems and methods for embedding a functioning application in a word processing document in collaborative work systems |
US11392556B1 (en) | 2021-01-14 | 2022-07-19 | Monday.com Ltd. | Digital processing systems and methods for draft and time slider for presentations in collaborative work systems |
US11893213B2 (en) | 2021-01-14 | 2024-02-06 | Monday.com Ltd. | Digital processing systems and methods for embedded live application in-line in a word processing document in collaborative work systems |
US11928315B2 (en) | 2021-01-14 | 2024-03-12 | Monday.com Ltd. | Digital processing systems and methods for tagging extraction engine for generating new documents in collaborative work systems |
US11741071B1 (en) | 2022-12-28 | 2023-08-29 | Monday.com Ltd. | Digital processing systems and methods for navigating and viewing displayed content |
US11886683B1 (en) | 2022-12-30 | 2024-01-30 | Monday.com Ltd | Digital processing systems and methods for presenting board graphics |
US11893381B1 (en) | 2023-02-21 | 2024-02-06 | Monday.com Ltd | Digital processing systems and methods for reducing file bundle sizes |
Also Published As
Publication number | Publication date |
---|---|
WO2019052234A1 (en) | 2019-03-21 |
CN107885656B (en) | 2021-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107885656A (en) | Product algorithm automated testing method and application server | |
CN107797923B (en) | Code coverage rate analysis method and application server | |
CN109474578A (en) | Message method of calibration, device, computer equipment and storage medium | |
CN107908553A (en) | Correlation testing method, application server and computer-readable recording medium | |
CN104133765B (en) | The test case sending method of network activity and test case server | |
CN108681504A (en) | Automated testing method, test server and computer readable storage medium | |
CN109447384A (en) | Verification method, device, equipment and the storage medium of air control system | |
CN108255701A (en) | Scrnario testing method and mobile terminal | |
CN107992424A (en) | Automatic test analysis method, application server and computer-readable recording medium | |
CN108038655A (en) | Recommendation method, application server and the computer-readable recording medium of department's demand | |
CN112433944A (en) | Service testing method, device, computer equipment and storage medium | |
CN109714201A (en) | Network System Reliability appraisal procedure, device, computer equipment and storage medium | |
CN108427634A (en) | Electronic device, the method for test and computer readable storage medium | |
CN108427635A (en) | Quickly method, server and the computer readable storage medium of test web page | |
CN111475494A (en) | Mass data processing method, system, terminal and storage medium | |
CN109697158B (en) | Log analysis method and device based on fault | |
CN105446869B (en) | The method and system that app application is audited | |
CN107357721B (en) | Method and device for testing system | |
CN108428097A (en) | Independently enter department's method, application server and computer readable storage medium | |
CN108256986A (en) | Wages computational methods, application server and computer readable storage medium based on cloud computing | |
CN111124772A (en) | Cloud platform storage performance testing method, system, terminal and storage medium | |
CN113535580B (en) | CTS test method, CTS test device and test equipment | |
CN108629699A (en) | Data uploading method, data uploading device, storage medium and device | |
CN107798250A (en) | Delivery method, application server and the computer-readable recording medium of sensitive information shielding rules | |
CN115391168A (en) | Sandbox testing method, sandbox testing device, sandbox testing equipment 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 |