CN109062799A - Regression testing method, the apparatus and system of advertising scenarios - Google Patents

Regression testing method, the apparatus and system of advertising scenarios Download PDF

Info

Publication number
CN109062799A
CN109062799A CN201810846922.2A CN201810846922A CN109062799A CN 109062799 A CN109062799 A CN 109062799A CN 201810846922 A CN201810846922 A CN 201810846922A CN 109062799 A CN109062799 A CN 109062799A
Authority
CN
China
Prior art keywords
test
advertising scenarios
regression
advertising
scenarios
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.)
Pending
Application number
CN201810846922.2A
Other languages
Chinese (zh)
Inventor
崔俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201810846922.2A priority Critical patent/CN109062799A/en
Publication of CN109062799A publication Critical patent/CN109062799A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0242Determining effectiveness of advertisements

Abstract

The present invention provides a kind of regression testing method of advertising scenarios, apparatus and system, this method is applied to cloud server, the recurrence request of the advertising scenarios of self terminal is carried out including receiving, wherein advertising scenarios include the advertising scenarios in client;According to the regression test object for returning request advertising scenarios, test case corresponding with regression test object is extracted from preset test case library;The test case corresponding with regression test object extracted is executed, to realize the regression test to the regression test object of advertising scenarios.Regression test of the deployment to advertising scenarios on server beyond the clouds of the embodiment of the present invention server side can realize the regression tests of advertising scenarios beyond the clouds for arbitrary client, the high availability of cloud server and the flexibility of regression test can be improved.The mode of regression test is realized in compared with the existing technology in terminal local, this programme can also effectively mitigate terminal burden, keep regression test process more convenient, quick.

Description

Regression testing method, the apparatus and system of advertising scenarios
Technical field
The present invention relates to software testing technology fields, regression testing method, device more particularly to a kind of advertising scenarios And system.
Background technique
Under normal conditions, when have on client software new function it is online before, need to carry out corresponding regression test, return After test refers to and has modified old code, test is re-started to confirm modification without introducing new mistake or leading to the production of other codes Raw mistake.A component part of the regression test as software life-cycle, occupies very big in entire software test procedure Workload specific gravity, each stage of software development can all carry out multiple regression test.
Commercially produced product is relatively more at present, and each product has the advertising scenarios and rule of oneself, and product is needed each The recurrence of full link when online, but be usually locally carry out manual testing or eclipse (open source code, Expansible development platform based on Java) carry out regression test in exploitation environment, such regression test performance, stability, can Early warning is all poor.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State regression testing method, the apparatus and system of the advertising scenarios of problem.
One side according to the present invention provides a kind of regression testing method of advertising scenarios, is applied to cloud server, Include:
Receive the recurrence request for carrying out the advertising scenarios of self terminal, wherein the advertising scenarios include the advertisement in client Scene;
According to it is described recurrence request described in advertising scenarios regression test object, from preset test case library extract with The corresponding test case of the regression test object;
Execute the test case corresponding with the regression test object extracted.
Optionally, the regression test object of the advertising scenarios includes at least one of: advertising content information, advertisement position Confidence breath, advertisement background information.
Optionally, further includes: operation is executed to the test case extracted by the triggering of jenkins tool, according to pre- Regression test process continuous integrating of the rule first configured to advertising scenarios.
Optionally, operation is executed to the test case extracted by the triggering of jenkins tool, according to preconfigured Regression test process continuous integrating of the rule to advertising scenarios, comprising:
Operation is executed to the test case extracted by the triggering of jenkins tool, according between the preconfigured time Every the regression test process continuous integrating to advertising scenarios.
Optionally, the regression test object according to advertising scenarios described in the recurrence request, from preset test case library It is middle to extract test case corresponding with the regression test object, comprising:
If the recurrence request received requests to distinguish to request for the recurrence of multiple advertising scenarios according to the recurrence Obtain the regression test object of each advertising scenarios, wherein the multiple advertising scenarios include multiple advertisement fields of same client Multiple advertising scenarios of scape and/or different clients;
Test case corresponding with the regression test object of each advertising scenarios is extracted from the preset test case library.
Optionally, the test case corresponding with the regression test object extracted is executed, comprising:
It is ranked up according to the regression test object of each advertising scenarios corresponding test case of the preset rules to extraction;
According to the ranking results implementation of test cases of test case, is returned and surveyed with the regression test object to each advertising scenarios Examination.
Optionally, according to preset rules to the test case corresponding with the regression test object of each advertising scenarios of extraction into Row sequence, comprising:
The corresponding test of regression test object according to the priority level of advertising scenarios predetermined, to each advertising scenarios Use-case is ranked up;
By the sorting position of the corresponding test case of regression test object of the high advertising scenarios of priority level, be arranged in it is excellent Before the corresponding test case of regression test object of the low advertising scenarios of first rank.
Optionally, after executing the test case corresponding with the regression test object extracted, further includes:
Regression test result is fed back into the terminal, to show the regression test on the display interface of the terminal As a result.
Another aspect according to the present invention additionally provides a kind of regression test device of advertising scenarios, is applied to cloud and takes Business device, comprising:
Receiving module, suitable for receiving the recurrence request for carrying out the advertising scenarios of self terminal, wherein the advertising scenarios include visitor Advertising scenarios on the end of family;
Extraction module, suitable for the regression test object according to advertising scenarios described in the recurrence request, from preset survey It tries to extract test case corresponding with the regression test object in example library;
Test module is adapted for carrying out the test case corresponding with the regression test object extracted.
Optionally, the regression test object of the advertising scenarios includes at least one of: advertising content information, advertisement position Confidence breath, advertisement background information.
Optionally, the test module, is further adapted for: triggering holding to the test case extracted by jenkins tool Row operation, according to preconfigured rule to the regression test process continuous integrating of advertising scenarios.
Optionally, the test module, is further adapted for: triggering holding to the test case extracted by jenkins tool Row operation, according to preconfigured time interval to the regression test process continuous integrating of advertising scenarios.
Optionally, the extraction module, is further adapted for: if the recurrence request received is the recurrence for multiple advertising scenarios Request, then according to the regression test object for returning request and obtaining each advertising scenarios respectively, wherein the multiple advertising scenarios Multiple advertising scenarios of multiple advertising scenarios and/or different clients including same client;
Test case corresponding with the regression test object of each advertising scenarios is extracted from the preset test case library.
Optionally, the test module, further includes:
Sequencing unit, suitable for the test corresponding with the regression test object of each advertising scenarios according to preset rules to extraction Use-case is ranked up;
Execution unit, suitable for the ranking results implementation of test cases according to test case, with the recurrence to each advertising scenarios Test object regression test.
Optionally, the sequencing unit, is further adapted for: according to the priority level of advertising scenarios predetermined, to each advertisement The corresponding test case of regression test object of scene is ranked up;By the regression test object of the high advertising scenarios of priority level The corresponding test of the sorting position of corresponding test case, the regression test object for being arranged in the low advertising scenarios of priority level is used Before example.
Optionally, described device further include: feedback module, suitable for the test module execute extract with described time Return after the corresponding test case of test object, regression test result is fed back into the terminal, in the display of the terminal The regression test result is shown on interface.
According to the present invention in another aspect, additionally providing a kind of regression test system of advertising scenarios, comprising:
Terminal and cloud server, the cloud server include the recurrence of advertising scenarios described in any embodiment above Test device.
Another aspect according to the present invention, additionally provides a kind of computer storage medium, and the computer storage medium is deposited Computer program code is contained, when the computer program code is run on the computing device, the calculating equipment is caused to be held The regression testing method of advertising scenarios described in row any embodiment.
Another aspect according to the present invention additionally provides a kind of calculating equipment, comprising: processor;It is stored with computer journey The memory of sequence code;When the computer program code is run by the processor, causes the calculating equipment to execute and appoint The regression testing method of advertising scenarios described in one embodiment.
In embodiments of the present invention, after the recurrence that cloud server receives the client-side ad scene for carrying out self terminal is requested, According to the regression test object for returning request advertising scenarios, then extracted and regression test object from preset test case library Corresponding test case, and the test case corresponding with regression test object extracted is executed, to realize to advertising scenarios Regression test object regression test.Recurrence of the deployment to advertising scenarios on server beyond the clouds of the embodiment of the present invention as a result, Test, for arbitrary client can beyond the clouds server side realize advertising scenarios regression test, so as to improve The high availability of cloud server and the flexibility of regression test.Also, it is realized back in compared with the existing technology in terminal local Return the mode of test, this programme can also effectively mitigate the burden of terminal, keep the process of regression test more convenient, quick.
Further, operation personnel can also be improved using the regression test mode in the embodiment of the present invention to produce client The ad distribution quality of the online efficiency of product and client.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
According to the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art will be brighter The above and other objects, advantages and features of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow diagram of the regression testing method of advertising scenarios according to an embodiment of the invention;
Fig. 2 shows the flow diagrams of the regression testing method of advertising scenarios in accordance with another embodiment of the present invention;
Fig. 3 shows the structural schematic diagram of the regression test device of advertising scenarios according to an embodiment of the invention;
Fig. 4 shows the structural schematic diagram of the regression test device of advertising scenarios in accordance with another embodiment of the present invention; And
Fig. 5 shows the structural schematic diagram of the regression test system of advertising scenarios according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
In order to solve the above technical problems, the embodiment of the invention provides a kind of regression testing method of advertising scenarios, application In cloud server.Fig. 1 shows the process signal of the regression testing method of advertising scenarios according to an embodiment of the invention Figure.Referring to Fig. 1, this method includes at least step S102 to step S106.
Step S102 receives the recurrence request for carrying out the advertising scenarios of self terminal, wherein advertising scenarios include in client Advertising scenarios.
In this step, terminal may include any terminal device of mobile phone, desktop computer, tablet computer etc., the present invention Embodiment does not do specific restriction to the type of terminal.
Step S104 is extracted from preset test case library according to the regression test object for returning request advertising scenarios Test case corresponding with regression test object.
In this step, the regression test object of advertising scenarios may include advertising content information, it is advertisement position information, wide Accuse at least one of background information etc..
Step S106 executes the test case corresponding with regression test object extracted.
In embodiments of the present invention, after the recurrence that cloud server receives the client-side ad scene for carrying out self terminal is requested, According to the regression test object for returning request advertising scenarios, then extracted and regression test object from preset test case library Corresponding test case, and the test case corresponding with regression test object extracted is executed, to realize to advertising scenarios Regression test object regression test.Recurrence of the deployment to advertising scenarios on server beyond the clouds of the embodiment of the present invention as a result, Test, for arbitrary client can beyond the clouds server side realize advertising scenarios regression test, so as to improve The high availability of cloud server and the flexibility of regression test.Also, it is realized back in compared with the existing technology in terminal local Return the mode of test, this programme can also effectively mitigate the burden of terminal, keep the process of regression test more convenient, quick. Further, can also to improve operation personnel using the regression test mode in the embodiment of the present invention online to client production The ad distribution quality of efficiency and client.
Step S102 is seen above, the advertising scenarios in the present invention program include the advertising scenarios in client, wherein visitor Family end can be any type client, such as game class client, video class client, music player class client, purchase Species client, security classes client etc., for example, security classes client may include mobile phone bodyguard APP, mobile phone assistant APP, The clients such as cleaning great master APP.The embodiment of the present invention does not do specific restriction to the type of client.
In this embodiment, the advertising scenarios in client may include the scene under any function of client, for example, For security classes client mobile phone bodyguard APP, advertising scenarios can based on changing an interface skin scene, suspended window dragging advertising scenarios, Charge screen protection, the customized scene of spreading its tail of user, wifi plug-in unit increased video tap (website self-building service platform) advertising scenarios, The new edition game of news details page or video details page, mobile phone bodyguard under the game acceleration function of mobile phone bodyguard accelerates under homepage Game recommdation area or function recommended area etc. scene under.In another example for any video class client, advertising scenarios can be The display interface scene, video pause scene, offline advertisement scene etc. of default appearance when client is opened.
In an embodiment of the present invention, the recurrence request that terminal is sent to the advertising scenarios of cloud server can be terminal The recurrence request sent by browser mounted thereto.Browser can use any type of browser, not do herein It is specific to limit.Wherein, returning request can be sent based on http agreement or other agreements.It is subsequent, cloud server The result of regression test can be back to terminal by browser, this makes the process of regression test more convenient.
Step S104 is seen above, in an embodiment of the present invention, the recurrence request for carrying out the advertising scenarios of self terminal may be used also To be the recurrence request for multiple advertising scenarios, cloud server can be realized for multiple and different advertising scenarios as a result, Regression test, to improve the regression test efficiency of advertising scenarios.In this embodiment, if the recurrence request received is for more The recurrence of a advertising scenarios is requested, then can be according to the regression test object for requesting to obtain each advertising scenarios respectively is returned, so Afterwards, test case corresponding with the regression test object of each advertising scenarios is extracted from preset test case library.Wherein, preset Test case warehouse compartment adds different advertisements in preset test case library in advance in cloud server, by tester or program staff The regression test object to advertising scenarios may be implemented by executing test case in the corresponding test case of regression test object of scene Regression test.
In this embodiment, multiple advertising scenarios can be multiple advertising scenarios from same client, can also be with Come from multiple advertising scenarios of different clients.Multiple nodes supports may be implemented in cloud server as a result, it can collection In regression test is carried out to different advertising scenarios, be advantageously implemented effective recurrence of commercialization advertisement, both improved business Change the efficiency that advertising scenarios return, and alleviates the burden of terminal.
In order to more efficiently realize to advertising scenarios concentrate regression test, step S106 execute extract with return When returning the corresponding test case of test object, the execution to the test case extracted can also be triggered by jenkins tool Operation realizes the recurrence to advertising scenarios according to preconfigured rule to the regression test process continuous integrating of advertising scenarios The lasting recurrence of test object.Jenkins is a kind of continuous integrating tool based on Java exploitation, the mark as continuous integrating Will tool has many merits of continuous integrating, such as support most of platform, web form visual administration page, Installation configures simple etc..
The embodiment of the present invention provides continuous integrating service using jenkins, may be implemented momentarily to return in advertising scenarios To regression test object, and obtain the result of regression test.It, can be in time to wide when the advertising scenarios of terminal generate update It accuses scene and carries out regression test, it is flexible to realize that the recurrence for carrying out advertisement to some client production or multiple client product is tested Card, greatly improves the online efficiency of product, and shorten the product online test verification time.
In this embodiment, preconfigured rule can be pre-set time rule, for example, passing through jenkins Tool triggering executes operation to the test case extracted, is surveyed according to preconfigured time interval to the recurrence of advertising scenarios Examination process continuous integrating.Time interval herein can by test related personnel set, such as set at intervals of two minutes, 3 points Clock, 4 minutes etc. time, do not do specific restriction to the time interval of regression test herein.
In an embodiment of the present invention, if the recurrence request received is requests for the recurrence of multiple advertising scenarios, It, can also be by after extracting corresponding with the regression test object of each advertising scenarios test case in preset test case library It is ranked up according to the regression test object of each advertising scenarios corresponding test case of the preset rules to extraction, and then according to survey The ranking results implementation of test cases of example on probation, to realize the regression test object regression test to each advertising scenarios.
In this embodiment, in the survey corresponding with the regression test object of each advertising scenarios according to preset rules to extraction It, can be first according to the priority level of advertising scenarios to the regression test object of each advertising scenarios during example on probation is ranked up Corresponding test case is ranked up, and then, the corresponding test of the regression test object of the high advertising scenarios of priority level is used The sorting position of example is arranged in front of the corresponding test case of regression test object of the low advertising scenarios of priority level.Wherein, The priority level of advertising scenarios can be pre-defined by the personnel for being responsible for test.
In the embodiment of the present invention, the basis of design of priority level can be the degree that advertising scenarios are paid close attention to by user, such as The priority level for setting the higher advertising scenarios of user's attention rate is higher.For example, suspended window dragging is wide in mobile phone bodyguard APP It accuses scene and changes concern of the skin scene more easily by user compared to main interface, therefore, suspended window dragging advertisement field can be set The priority level of scape is higher than the priority level that main interface changes skin scene.In another example in video class client, video pause scene Therefore video pause can be set in the concern that default display interfaces scene is easier by user when opening compared to client The priority level of scene is higher than the priority level of default display interfaces scene when client is opened.
In an embodiment of the present invention, cloud server is executing test corresponding with the regression test object use extracted Example after, regression test result can also be fed back to terminal, so on the display interface of terminal show regression test as a result, To facilitate tester to understand test result in time.
The present invention also provides the regression testing methods of another advertising scenarios, are applied to cloud server, Fig. 2 shows The flow diagram of the regression testing method of advertising scenarios in accordance with another embodiment of the present invention.Referring to fig. 2, this method is at least It can be with step S202 to step S208.
Step S202 receives the recurrence request of the advertising scenarios in the client for carrying out self terminal.
Step S204 is extracted from preset test case library according to the regression test object for returning request advertising scenarios Test case corresponding with regression test object.
Step S206 executes the test case corresponding with regression test object extracted.
Step S208, the implementing result that implementation of test cases is obtained are compared with expected execution result, are compared As a result.
In the step, if the implementing result and expected execution result of test case, than more consistent, test passes through, if comparing It is inconsistent, then it tests and does not pass through.When test not by when, also need programmer to the regression test objects of corresponding advertising scenarios into Row is optimized and revised accordingly.Wherein, it is contemplated that contrast standard of the implementing result as test case implementing result, by testing related personnel It is pre-stored in cloud server.
Step S210 feeds back to terminal for comparison result as regression test result, to open up on the display interface of terminal Show regression test result.
In an embodiment of the present invention, cloud server can also generate corresponding survey during carrying out regression test Log is tried, which is mainly used for recording code execution information of test case during regression test.Test log can To include the much informations such as test exception information, test result information.Wherein, test exception information specifically may include test process Line number where the code being not carried out and the code being not carried out.There are abnormal feelings in any link during regression test Under condition, test log will record test exception information in time.It is subsequent, after test case has executed, by from test day Test exception information is extracted in will, and will test and occur abnormal code place in exception information for line number and the corresponding storage of code Generate test exception reporting.In turn, test exception reporting can be sent to terminal by cloud server, so that tester's energy It is enough to understand the problem in test process in time.
In this embodiment, test exception reporting, can also be with the regression test pair of advertising scenarios before being sent to terminal The corresponding storage of the correlated identities information of elephant, the corresponding test of regression test object to be clearly which advertising scenarios are reported extremely It accuses.Wherein, there is its unique identification information, this identification information for the regression test object of any one advertising scenarios Can be by tester by terminal it is pre-assigned, be also possible to cloud server distribution.
Based on the same inventive concept, the embodiment of the invention also provides a kind of regression test device of advertising scenarios, applications In cloud server.Fig. 3 shows the structural representation of the regression test device of advertising scenarios according to an embodiment of the invention Figure.Referring to Fig. 3, the regression test device 300 of advertising scenarios includes receiving module 310, extraction module 320, test module 330.
Now introduce each composition of the regression test device 300 based on advertising scenarios of the embodiment of the present invention or the function of device And the connection relationship between each section:
Receiving module 310, suitable for receiving the recurrence request for carrying out the advertising scenarios of self terminal, wherein advertising scenarios include visitor Advertising scenarios on the end of family;
Extraction module 320 is coupled with receiving module 310, suitable for according to the regression test for returning request advertising scenarios Object extracts test case corresponding with regression test object from preset test case library;
Wherein, the regression test object of advertising scenarios may include at least one of: advertising content information, location advertising Information, advertisement background information.
Test module 330 is coupled with extraction module 320, is adapted for carrying out the survey corresponding with regression test object extracted Example on probation.
In an embodiment of the present invention, test module 330 is further adapted for, and triggers the survey to extracting by jenkins tool Example on probation executes operation, according to preconfigured rule to the regression test process continuous integrating of advertising scenarios.
In an embodiment of the present invention, test module 330 is further adapted for, and triggers the survey to extracting by jenkins tool Example on probation executes operation, according to preconfigured time interval to the regression test process continuous integrating of advertising scenarios.
In an embodiment of the present invention, extraction module 320 is further adapted for, if the recurrence request received is for multiple advertisement The recurrence of scene is requested, then according to the regression test object for requesting to obtain each advertising scenarios respectively is returned, then, from preset test Example extracts test case corresponding with the regression test object of each advertising scenarios in library.Wherein, multiple advertising scenarios include Multiple advertising scenarios of same client and/or multiple advertising scenarios of different clients.
The embodiment of the invention also provides the regression test devices of another advertising scenarios, are applied to cloud server.Fig. 4 Show the structural schematic diagram of the regression test device of advertising scenarios in accordance with another embodiment of the present invention.Referring to fig. 4, advertisement The regression test device 300 of scene further includes anti-other than including receiving module 310, extraction module 320, test module 330 Module 340 is presented, also, further includes sequencing unit 331 and execution unit 332 in test module 330.
Sequencing unit 331, suitable for according to preset rules to the corresponding with the regression test object of each advertising scenarios of extraction Test case is ranked up;
Execution unit 332 is coupled with sequencing unit 331, suitable for according to test case ranking results implementation of test cases, With the regression test object regression test to each advertising scenarios.
Feedback module 340 is coupled with test module 330, suitable for executing extract and regression test in test module 330 After the corresponding test case of object, regression test result is fed back into terminal, is returned with being shown on the display interface of terminal Test result.
In an embodiment of the present invention, sequencing unit 331 is further adapted for, according to the priority of advertising scenarios predetermined Not, the corresponding test case of regression test object of each advertising scenarios is ranked up.Then the advertisement field that priority level is high The sorting position of the corresponding test case of regression test object of scape, the regression test for being arranged in the low advertising scenarios of priority level Before the corresponding test case of object.
The present invention also provides a kind of regression test system of advertising scenarios, Fig. 5 shows an implementation according to the present invention The structural schematic diagram of the regression test system of the advertising scenarios of example.Referring to Fig. 5, the regression test system 500 of advertising scenarios includes Terminal 510 and cloud server 520, wherein cloud server 520 may include the advertising scenarios in any embodiment above Regression test device 300.
In the regression test system 500 of advertising scenarios, terminal 510 sends returning for advertising scenarios to cloud server 520 Return request, wherein advertising scenarios may include the advertising scenarios in any client.Cloud server 520 receives advertisement field After the recurrence request of scape, according to the regression test object of recurrence request advertising scenarios, and extracted from preset test case library Test case corresponding with regression test object, so beyond the clouds in server 520 execute extract with regression test object Corresponding test case.
Regression test object may include advertising content information, advertisement position information, advertisement background information etc., about cloud End server 520 may refer to foregoing embodiments to the test process of the regression test object of advertising scenarios, not do herein specific Repeat.
For most of client production, commercialization is different client production where the value of client developer Product have the commercialization mode of oneself, but there are many commercialization advertising scenarios data of each client, for each advertising scenarios If individually carrying out regression test, the manpower of tester is not only wasted, the reasonable utilization of testing service device is also unfavorable for, because This, uses the test macro of the embodiment of the present invention that can provide a good recurrence for the regression test process of advertising scenarios and tests Platform is demonstrate,proved, improves the flexibility for returning verifying, also, can also effectively improve using this programme and return the steady of verification platform It is qualitative.In addition, the relevant configuration of advertising scenarios can also be carried out on the platform, such as configure the recurrence survey of different advertising scenarios The corresponding test case of examination object executes sequence, the interval time in continuous integrating test process etc., is verified by the recurrence Easily and efficiently advertising scenarios regression test may be implemented in platform.
The present invention also provides a kind of computer storage medium, computer storage medium is stored with computer program code, When computer program code is run on the computing device, lead to the recurrence for calculating the advertising scenarios that equipment executes any embodiment Test method.
In addition, the present invention also provides a kind of calculating equipment, including processor;It is stored with the storage of computer program code Device;When computer program code is run by processor, lead to the recurrence for calculating the advertising scenarios that equipment executes any embodiment Test method.
According to the combination of any one above-mentioned preferred embodiment or multiple preferred embodiments, the embodiment of the present invention can reach It is following the utility model has the advantages that
In embodiments of the present invention, after the recurrence that cloud server receives the client-side ad scene for carrying out self terminal is requested, According to the regression test object for returning request advertising scenarios, then extracted and regression test object from preset test case library Corresponding test case, and the test case corresponding with regression test object extracted is executed, to realize to advertising scenarios Regression test object regression test.Recurrence of the deployment to advertising scenarios on server beyond the clouds of the embodiment of the present invention as a result, Test, for arbitrary client can beyond the clouds server side realize advertising scenarios regression test, so as to improve The high availability of cloud server and the flexibility of regression test.Also, it is realized back in compared with the existing technology in terminal local Return the mode of test, this programme can also effectively mitigate the burden of terminal, keep the process of regression test more convenient, quick.
Further, operation personnel can also be improved using the regression test mode in the embodiment of the present invention to produce client The ad distribution quality of the online efficiency of product and client.
It is apparent to those skilled in the art that the specific work of the system of foregoing description, device and unit Make process, can refer to corresponding processes in the foregoing method embodiment, for brevity, does not repeat separately herein.
In addition, each functional unit in each embodiment of the present invention can be physically independent, can also two or More than two functional units integrate, and can be all integrated in a processing unit with all functional units.It is above-mentioned integrated Functional unit both can take the form of hardware realization, can also be realized in the form of software or firmware.
Those of ordinary skill in the art will appreciate that: if the integrated functional unit is realized and is made in the form of software It is independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, Technical solution of the present invention is substantially or all or part of the technical solution can be embodied in the form of software products, The computer software product is stored in a storage medium comprising some instructions, with so that calculating equipment (such as Personal computer, server or network equipment etc.) various embodiments of the present invention the method is executed when running described instruction All or part of the steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM), random access memory Device (RAM), the various media that can store program code such as magnetic or disk.
Alternatively, realizing that all or part of the steps of preceding method embodiment can be (all by the relevant hardware of program instruction Such as personal computer, the calculating equipment of server or network equipment etc.) it completes, described program instruction can store in one In computer-readable storage medium, when described program instruction is executed by the processor of calculating equipment, the calculating equipment is held The all or part of the steps of row various embodiments of the present invention the method.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, those skilled in the art should understand that: at this Within the spirit and principle of invention, it is still possible to modify the technical solutions described in the foregoing embodiments or right Some or all of the technical features are equivalently replaced;And these are modified or replaceed, and do not make corresponding technical solution de- From protection scope of the present invention.
The embodiment of the invention also provides A1, a kind of regression testing method of advertising scenarios, are applied to cloud server, packet It includes:
Receive the recurrence request for carrying out the advertising scenarios of self terminal, wherein the advertising scenarios include the advertisement in client Scene;
According to it is described recurrence request described in advertising scenarios regression test object, from preset test case library extract with The corresponding test case of the regression test object;
Execute the test case corresponding with the regression test object extracted.
A2, method according to a1, wherein the regression test object of the advertising scenarios includes at least one of: Advertising content information, advertisement position information, advertisement background information.
A3, method according to a1 or a2, wherein further include:
Operation is executed to the test case extracted by the triggering of jenkins tool, it is right according to preconfigured rule The regression test process continuous integrating of advertising scenarios.
A4, method according to a3, wherein the execution to the test case extracted is triggered by jenkins tool Operation, according to preconfigured rule to the regression test process continuous integrating of advertising scenarios, comprising:
Operation is executed to the test case extracted by the triggering of jenkins tool, according between the preconfigured time Every the regression test process continuous integrating to advertising scenarios.
A5, method according to a1 or a2, wherein the recurrence according to advertising scenarios described in the recurrence request is surveyed Object is tried, test case corresponding with the regression test object is extracted from preset test case library, comprising:
If the recurrence request received requests to distinguish to request for the recurrence of multiple advertising scenarios according to the recurrence Obtain the regression test object of each advertising scenarios, wherein the multiple advertising scenarios include multiple advertisement fields of same client Multiple advertising scenarios of scape and/or different clients;
Test case corresponding with the regression test object of each advertising scenarios is extracted from the preset test case library.
A6, method according to a5, wherein execute the test corresponding with the regression test object extracted and use Example, comprising:
It is ranked up according to the regression test object of each advertising scenarios corresponding test case of the preset rules to extraction;
According to the ranking results implementation of test cases of test case, is returned and surveyed with the regression test object to each advertising scenarios Examination.
A7, the method according to A6, wherein the regression test pair with each advertising scenarios according to preset rules to extraction As corresponding test case is ranked up, comprising:
The corresponding test of regression test object according to the priority level of advertising scenarios predetermined, to each advertising scenarios Use-case is ranked up;
By the sorting position of the corresponding test case of regression test object of the high advertising scenarios of priority level, be arranged in it is excellent Before the corresponding test case of regression test object of the low advertising scenarios of first rank.
A8, method according to a1 or a2, wherein execute the test corresponding with the regression test object extracted After use-case, further includes:
Regression test result is fed back into the terminal, to show the regression test on the display interface of the terminal As a result.
The regression test device of B9, a kind of advertising scenarios are applied to cloud server, comprising:
Receiving module, suitable for receiving the recurrence request for carrying out the advertising scenarios of self terminal, wherein the advertising scenarios include visitor Advertising scenarios on the end of family;
Extraction module, suitable for the regression test object according to advertising scenarios described in the recurrence request, from preset survey It tries to extract test case corresponding with the regression test object in example library;
Test module is adapted for carrying out the test case corresponding with the regression test object extracted.
B10, the device according to B9, wherein the regression test object of the advertising scenarios includes at least one of: Advertising content information, advertisement position information, advertisement background information.
B11, the device according to B9 or B10, wherein the test module is further adapted for:
Operation is executed to the test case extracted by the triggering of jenkins tool, it is right according to preconfigured rule The regression test process continuous integrating of advertising scenarios.
B12, the device according to B11, wherein the test module is further adapted for:
Operation is executed to the test case extracted by the triggering of jenkins tool, according between the preconfigured time Every the regression test process continuous integrating to advertising scenarios.
B13, the device according to B9 or B10, wherein the extraction module is further adapted for:
If the recurrence request received requests to distinguish to request for the recurrence of multiple advertising scenarios according to the recurrence Obtain the regression test object of each advertising scenarios, wherein the multiple advertising scenarios include multiple advertisement fields of same client Multiple advertising scenarios of scape and/or different clients;
Test case corresponding with the regression test object of each advertising scenarios is extracted from the preset test case library.
B14, device according to b13, wherein the test module, further includes:
Sequencing unit, suitable for the test corresponding with the regression test object of each advertising scenarios according to preset rules to extraction Use-case is ranked up;
Execution unit, suitable for the ranking results implementation of test cases according to test case, with the recurrence to each advertising scenarios Test object regression test.
B15, device according to b14, wherein the sequencing unit is further adapted for:
The corresponding test of regression test object according to the priority level of advertising scenarios predetermined, to each advertising scenarios Use-case is ranked up;
By the sorting position of the corresponding test case of regression test object of the high advertising scenarios of priority level, be arranged in it is excellent Before the corresponding test case of regression test object of the low advertising scenarios of first rank.
B16, the device according to B9 or B10, wherein further include:
Feedback module is used suitable for executing the test corresponding with the regression test object extracted in the test module After example, regression test result is fed back into the terminal, to show the regression test on the display interface of the terminal As a result.
C17, a kind of regression test system of advertising scenarios, comprising:
Terminal and cloud server, the cloud server include the recurrence of advertising scenarios described in any one of B9-16 Test device.
D18, a kind of computer storage medium, the computer storage medium is stored with computer program code, when described When computer program code is run on the computing device, the calculating equipment is caused to execute the described in any item advertisement fields A1-A8 The regression testing method of scape.
E19, a kind of calculating equipment, comprising: processor;It is stored with the memory of computer program code;When the calculating When machine program code is run by the processor, the calculating equipment is caused to execute the described in any item advertising scenarios of A1-A8 Regression testing method.

Claims (10)

1. a kind of regression testing method of advertising scenarios is applied to cloud server, comprising:
Receive the recurrence request for carrying out the advertising scenarios of self terminal, wherein the advertising scenarios include the advertising scenarios in client;
According to it is described recurrence request described in advertising scenarios regression test object, from preset test case library extract with it is described The corresponding test case of regression test object;
Execute the test case corresponding with the regression test object extracted.
2. according to the method described in claim 1, wherein, the regression test object of the advertising scenarios include it is following at least it One: advertising content information, advertisement position information, advertisement background information.
3. method according to claim 1 or 2, wherein further include:
Operation is executed to the test case extracted by the triggering of jenkins tool, according to preconfigured rule to advertisement The regression test process continuous integrating of scene.
4. according to the method described in claim 3, wherein, triggering holding to the test case extracted by jenkins tool Row operation, according to preconfigured rule to the regression test process continuous integrating of advertising scenarios, comprising:
Operation is executed to the test case extracted by the triggering of jenkins tool, according to preconfigured time interval pair The regression test process continuous integrating of advertising scenarios.
5. method according to claim 1 or 2, wherein the recurrence according to advertising scenarios described in the recurrence request Test object extracts test case corresponding with the regression test object from preset test case library, comprising:
If the recurrence request received obtains to request for the recurrence of multiple advertising scenarios according to recurrence request respectively The regression test object of each advertising scenarios, wherein the multiple advertising scenarios include same client multiple advertising scenarios and/ Or multiple advertising scenarios of different clients;
Test case corresponding with the regression test object of each advertising scenarios is extracted from the preset test case library.
6. according to the method described in claim 5, wherein, executing the test corresponding with the regression test object extracted and using Example, comprising:
It is ranked up according to the regression test object of each advertising scenarios corresponding test case of the preset rules to extraction;
According to the ranking results implementation of test cases of test case, with the regression test object regression test to each advertising scenarios.
7. a kind of regression test device of advertising scenarios is applied to cloud server, comprising:
Receiving module, suitable for receiving the recurrence request for carrying out the advertising scenarios of self terminal, wherein the advertising scenarios include client On advertising scenarios;
Extraction module, suitable for the regression test object according to advertising scenarios described in the recurrence request, from preset test case Test case corresponding with the regression test object is extracted in library;
Test module is adapted for carrying out the test case corresponding with the regression test object extracted.
8. a kind of regression test system of advertising scenarios, comprising:
Terminal and cloud server, the cloud server include returning for advertising scenarios described in any one of claim 9-16 Return test device.
9. a kind of computer storage medium, the computer storage medium is stored with computer program code, when the computer When program code is run on the computing device, the calculating equipment perform claim is caused to require the described in any item advertisement fields 1-6 The regression testing method of scape.
10. a kind of calculating equipment, comprising: processor;It is stored with the memory of computer program code;When the computer program When code is run by the processor, the calculating equipment perform claim is caused to require the described in any item advertising scenarios of 1-6 Regression testing method.
CN201810846922.2A 2018-07-27 2018-07-27 Regression testing method, the apparatus and system of advertising scenarios Pending CN109062799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810846922.2A CN109062799A (en) 2018-07-27 2018-07-27 Regression testing method, the apparatus and system of advertising scenarios

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810846922.2A CN109062799A (en) 2018-07-27 2018-07-27 Regression testing method, the apparatus and system of advertising scenarios

Publications (1)

Publication Number Publication Date
CN109062799A true CN109062799A (en) 2018-12-21

Family

ID=64835750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810846922.2A Pending CN109062799A (en) 2018-07-27 2018-07-27 Regression testing method, the apparatus and system of advertising scenarios

Country Status (1)

Country Link
CN (1) CN109062799A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968511A (en) * 2019-11-29 2020-04-07 车智互联(北京)科技有限公司 Recommendation engine testing method, device, computing equipment and system
CN111124892A (en) * 2019-12-04 2020-05-08 四川安迪科技实业有限公司 Automatic testing method and system based on command line
CN113742239A (en) * 2021-09-14 2021-12-03 口碑(上海)信息技术有限公司 Terminal reader regression test system, regression test method and interaction method
US11429597B2 (en) 2020-01-23 2022-08-30 Cognizant Technology Solutions India Pvt. Ltd. System and method for reconstructing regression test scenarios using post-production events

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103540A (en) * 2011-03-23 2011-06-22 镇江睿泰信息科技有限公司 Cloud test device and method for general software system
US20120054551A1 (en) * 2010-08-30 2012-03-01 Yu Gao System including a vendor computer system for testing software products in a cloud network
CN103237082A (en) * 2013-05-06 2013-08-07 百度在线网络技术(北京)有限公司 Cloud testing method, system, and cloud server
CN104378252A (en) * 2014-08-26 2015-02-25 国家电网公司 Cloud testing service platform
CN108255653A (en) * 2018-01-02 2018-07-06 深圳壹账通智能科技有限公司 The test method and its terminal of a kind of product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120054551A1 (en) * 2010-08-30 2012-03-01 Yu Gao System including a vendor computer system for testing software products in a cloud network
CN102103540A (en) * 2011-03-23 2011-06-22 镇江睿泰信息科技有限公司 Cloud test device and method for general software system
CN103237082A (en) * 2013-05-06 2013-08-07 百度在线网络技术(北京)有限公司 Cloud testing method, system, and cloud server
CN104378252A (en) * 2014-08-26 2015-02-25 国家电网公司 Cloud testing service platform
CN108255653A (en) * 2018-01-02 2018-07-06 深圳壹账通智能科技有限公司 The test method and its terminal of a kind of product

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968511A (en) * 2019-11-29 2020-04-07 车智互联(北京)科技有限公司 Recommendation engine testing method, device, computing equipment and system
CN110968511B (en) * 2019-11-29 2023-10-20 车智互联(北京)科技有限公司 Recommendation engine testing method, device, computing equipment and system
CN111124892A (en) * 2019-12-04 2020-05-08 四川安迪科技实业有限公司 Automatic testing method and system based on command line
US11429597B2 (en) 2020-01-23 2022-08-30 Cognizant Technology Solutions India Pvt. Ltd. System and method for reconstructing regression test scenarios using post-production events
CN113742239A (en) * 2021-09-14 2021-12-03 口碑(上海)信息技术有限公司 Terminal reader regression test system, regression test method and interaction method

Similar Documents

Publication Publication Date Title
US10733079B2 (en) Systems and methods for end-to-end testing of applications using dynamically simulated data
KR102471165B1 (en) Systems and methods for identifying process flows from log files and visualizing the flow
US20180349257A1 (en) Systems and methods for test prediction in continuous integration environments
US20180336027A1 (en) Distributed versioning of applications using cloud-based systems
CN109062799A (en) Regression testing method, the apparatus and system of advertising scenarios
DE112016002120T5 (en) Development and sales platform for software
US20180075513A1 (en) Software recommendation services for targeted user groups
US20150215383A1 (en) Methods for Exchanging Data Amongst Mobile Applications Using Superlinks
WO2013119432A1 (en) Context-based study generation and administration
CN108334641B (en) Method, system, electronic equipment and storage medium for collecting user behavior data
US20160078078A1 (en) Auditing of web-based video
US9886256B2 (en) Application download and link correlation
IL270524B2 (en) Matching and attribution of user device events
US20200228565A1 (en) Systems and methods for enhanced host classification
CN107644100A (en) Information processing method, device and system and computer-readable recording medium
CN109034867B (en) Click traffic detection method and device and storage medium
CN107526748B (en) Method and equipment for identifying user click behavior
CN111444447A (en) Content recommendation page display method and device
CN105450460B (en) Network operation recording method and system
CN111200639B (en) Information pushing method and device based on user operation behavior and electronic equipment
CN110020108A (en) Network resource recommended method, device, computer equipment and storage medium
US20220351237A1 (en) A computer implemented platform for advertisement campaigns and method thereof
US20160124959A1 (en) System and method to recommend a bundle of items based on item/user tagging and co-install graph
CN109408716B (en) Method and device for pushing information
US20170068919A1 (en) Risk assessment in online collaborative environments

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181221