CN105607992A - Application program test method, device and system - Google Patents

Application program test method, device and system Download PDF

Info

Publication number
CN105607992A
CN105607992A CN201510632282.1A CN201510632282A CN105607992A CN 105607992 A CN105607992 A CN 105607992A CN 201510632282 A CN201510632282 A CN 201510632282A CN 105607992 A CN105607992 A CN 105607992A
Authority
CN
China
Prior art keywords
code
application program
packing
measured
packaged
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510632282.1A
Other languages
Chinese (zh)
Other versions
CN105607992B (en
Inventor
钟维海
陈诺言
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201510632282.1A priority Critical patent/CN105607992B/en
Publication of CN105607992A publication Critical patent/CN105607992A/en
Application granted granted Critical
Publication of CN105607992B publication Critical patent/CN105607992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an application program test method, device and system. The method comprises the following steps: one-key sending a packaging request through a mobile terminal; triggering a web server to obtain a newest program code and packaging the code into an installation package; and finally automatically pushing the installation package to the mobile terminal to download and install so as to carry out application program test. Compared with the prior art, the application program test method, device and system disclosed in the invention have the advantage of saving the processes of manually obtaining the code, packaging, downloading and installing; and the whole test process can be completed through one-key triggering through the mobile terminal, so that the time of submitting the code from the developers to the testers to test is shortened and the test efficiency is improved.

Description

Applied program testing method, device and system
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of applied program testing method, install and beSystem.
Background technology
Popular along with smart mobile phone, the practitioner of mobile application is also more and more. Mobile phone A PP(Application, application program) development and testing flow process is broadly divided into following three phases.
Programming phase: project staff proposes demand. Development phase: developer carries out according to the demand proposingProgram development. It is raw that test phase: QA (quality guarantee, QualityAssurance) personnel obtain program codeBecome installation kit and pack mobile phone into test.
In process of application development, due to the change of demand or the reparation of bug, developer often needsProgram code is iterated, and program code is after changing paid to QA department, QA personnel needProgram code after each renewal is packed and installed and test, to guarantee software quality.
Existing applied program testing method is as follows: the program code that developer completes exploitation is submitted toSVN server also notifies tester to test by modes such as job notes, and tester is from described SVNIn server, up-to-date program code is upgraded and downloads to computer end, and will obtain by the strapping tool of computer endThe code of obtaining is packaged into installation kit, and then import mobile phone into by data wire or other forms and install,Finally on mobile phone, mounted program is tested. Packing complex installation process, needs computer and mobile phoneCarry out on both sides, the discontinuous easy interruption of process and expending time in, and efficiency is lower.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of applied program testing method, device and system, excellentChange the testing process of application program, improve testing efficiency.
To achieve these goals, the embodiment of the present invention provides a kind of applied program testing method, comprising:
Send packing request, trigger web server and obtain the code of application program to be measured and described code is beatenBe bundled into installation kit;
Receive the information that packing that described web server returns completes, from described web server, download instituteState installation kit and install;
Application program described to be measured to installation is tested.
Preferably, described web server is obtained the code of tested application program, is specially:
Described web server is according to the SVN in predefined SVN directory information or described packing requestDirectory information obtains the up-to-date code of described application program to be measured from SVN server.
Preferably, the code of described application program to be measured is updated to described SVN server in advance for developerIn code.
Preferably, described code is packaged into installation kit by described web server, is specially:
Described web server is according to the packetization types in predefined packetization types or described packing request,Call corresponding strapping tool described code is packaged into installation kit.
Preferably, described triggering web server is obtained the code of application program to be measured and described code is packedBecome installation kit, be specially:
Trigger the described web server described application program to be measured that judges whether to pack;
In the time that described web server is not being packed described application program to be measured, trigger described web servicesDevice obtains the code of described application program to be measured and described code is packaged into installation kit;
In the time that described web server is being packed described application program to be measured, hinder by described web serverFill in described packing request, wait for that described application program to be measured is packaged into installation kit.
Preferably, described method of testing also comprises:
Current progress msg is shown; Wherein, described progress msg comprise packing progress, download intoOne or more combinations in degree and installation progress.
Correspondingly, the embodiment of the present invention also provides a kind of Application testing device, comprising:
Request sending module, for sending packing request, triggers web server and obtains application program to be measuredCode is also packaged into installation kit by described code;
Download and install module, the information completing for receiving packing that described web server returns, from describedIn web server, download described installation kit and install;
Test module, tests for the application program described to be measured to installation.
Preferably, described request sending module comprises:
Code obtaining trigger element, believes according to predefined SVN catalogue for triggering described web serverSVN directory information in breath or described packing request obtains described application to be measured from SVN serverThe up-to-date code of program.
Preferably, the code of described application program to be measured is updated to described SVN server in advance for developerIn code.
Preferably, described request sending module also comprises:
Code packing trigger element, for triggering described web server according to predefined packetization types orPacketization types described in person in packing request, calls corresponding strapping tool described code is packaged into installation kit.
Preferably, described request sending module comprises:
Judge trigger element, for sending packing request, trigger described web server and judge whether to beatWrap described application program to be measured;
Packing trigger element, in the time that described web server is not being packed described application program to be measured,Triggering described web server obtains the code of described application program to be measured and described code is packaged into installation kit;
Block trigger element, in the time that described web server is being packed described application program to be measured, logicalCross described web server and block described packing request, wait for that described application program to be measured is packaged into installation kit.
Preferably, also comprise:
Progress display module, for showing current progress msg; Wherein, described progress msg bagDraw together one or more combinations in packing progress, download progress and installation progress.
The embodiment of the present invention also provides another kind of applied program testing method, comprising:
The packing request that mobile terminal receive sends, obtains the code of application program to be measured and described code is beatenBe bundled into installation kit;
Return to the information of having packed to described mobile terminal, trigger described in described mobile terminal downloads and installInstallation kit; By described mobile terminal, the application program described to be measured of installation is tested.
Preferably, described in obtain the code of application program to be measured, be specially:
According to the SVN directory information in predefined SVN directory information or described packing request, fromIn SVN server, obtain the up-to-date code of described application program to be measured.
Preferably, the code of described application program to be measured is updated to described SVN server in advance for developerIn code.
Preferably, described described code is packaged into installation kit, is specially:
According to the packetization types in predefined packetization types or described packing request, call and beat accordinglyDescribed code is packaged into installation kit by job contract tool.
Preferably, described in obtain the code of application program to be measured and described code be packaged into installation kit, concreteFor:
Described application program to be measured judges whether to pack;
In the time not packing described application program to be measured, obtain application program to be measured code and will described inCode is packaged into installation kit;
In the time packing described application program to be measured, block described packing request, wait for described application to be measuredProgram is packaged into installation kit.
Preferably, described method of testing also comprises:
By described mobile terminal, current progress msg is shown; Wherein, described progress msg comprisesOne or more combinations in packing progress, download progress and installation progress.
Correspondingly, the embodiment of the present invention provides another kind of Application testing device, comprising:
Request receiving module, the packing request sending for mobile terminal receive;
Code packetization module, for obtaining the code of application program to be measured and described code being packaged into installation kit;
Information feedback module, for return to the information of having packed to described mobile terminal, triggers described movementTerminal downloads is also installed described installation kit, and the application described to be measured to installation by described mobile terminalProgram is tested.
Preferably, described code packetization module comprises:
Code obtaining unit, for according to predefined SVN directory information or described packing requestSVN directory information obtains the up-to-date code of described application program to be measured from SVN server.
Preferably, the code of described application program to be measured is updated to described SVN server in advance for developerIn code.
Preferably, described code packetization module comprises:
Code packaged unit, for according to the packing of predefined packetization types or described packing requestType, calls corresponding strapping tool described code is packaged into installation kit.
Preferably, described code packetization module comprises:
Judging unit, for judging whether the described application program to be measured of packing;
Packaged unit, in the time not packing described application program to be measured, obtains application program to be measuredCode and described code is packaged into installation kit;
Block unit, in the time packing described application program to be measured, block described packing request, etc.Treat that described application program to be measured is packaged into installation kit.
Preferably, also comprise:
Progress display module, for showing current progress msg by described mobile terminal; Wherein,Described progress msg comprises one or more combinations in packing progress, download progress and installation progress.
Further, the embodiment of the present invention also provides a kind of Application testing system, comprises mobile terminalAnd web server;
Described mobile terminal comprises request sending module;
Described request sending module, for sending packing request to described web server
Described web server comprises code packetization module and information feedback module;
Described code packetization module, the packing request sending for receiving described mobile terminal, obtains to be measured answeringBe packaged into installation kit with the code of program and by described code;
Described information feedback module, for returning to the information of having packed to described mobile terminal;
Described mobile terminal also comprises and downloads and installs module and test module;
The described module that downloads and installs, the information completing for receiving packing that described web server returns, fromIn described web server, download described installation kit and install;
Described test module, tests for the application program described to be measured to installation.
Preferably, described test macro also comprises:
SVN server, for storing the code of described application program to be measured;
Described code packetization module comprises Code obtaining unit;
Described Code obtaining unit, for according to predefined SVN directory information or described packing requestIn SVN directory information, from described SVN server, obtain the up-to-date code of described application program to be measured.
Preferably, described code packetization module comprises code packaged unit;
Described code packaged unit, for according to predefined packetization types or described packing requestPacketization types, calls corresponding strapping tool described code is packaged into installation kit.
Preferably, described code packetization module comprises:
Judging unit, for judging whether the described application program to be measured of packing;
Packaged unit, in the time not packing described application program to be measured, obtains application program to be measuredCode and described code is packaged into installation kit;
Block unit, in the time packing described application program to be measured, block described packing request, etc.Treat that described application program to be measured is packaged into installation kit.
Preferably, described mobile terminal also comprises progress display module;
Described progress display module, for showing current progress msg by described mobile terminal;Wherein, described progress msg comprises one or more combinations in packing progress, download progress and installation progress.
Applied program testing method, device and system that the embodiment of the present invention provides, can pass through mobile terminal oneKey sends packing request, triggers web server and obtains up-to-date program code and institute's code is packaged into installationBag, the most described installation kit is automatically pushed to described mobile terminal and downloads and installs, to apply journeyOrder test. Compared with prior art, the embodiment of the present invention provides applied program testing method, install and beSystem has been saved the process of manually obtaining code, packing, download and installation, and whole test process can be by mobileTerminal one key has triggered, and has shortened the time of submitting to code to test to tester from exploitation, improvesTesting efficiency.
Brief description of the drawings
Fig. 1 is the flow chart of an embodiment of applied program testing method provided by the invention;
Fig. 2 is the flow chart of another embodiment of applied program testing method provided by the invention;
Fig. 3 is the structural representation of an embodiment of Application testing device provided by the invention;
Fig. 4 is the structural representation of another embodiment of Application testing device provided by the invention;
Fig. 5 is the flow chart of another embodiment of applied program testing method provided by the invention;
Fig. 6 is the flow chart of another embodiment of applied program testing method provided by the invention;
Fig. 7 is the structural representation of another embodiment of Application testing device provided by the invention;
Fig. 8 is the structural representation of another embodiment of Application testing device provided by the invention;
Fig. 9 is the structural representation of an embodiment of Application testing system provided by the invention;
Figure 10 is the structural representation of another embodiment of Application testing system provided by the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearlyChu, intactly description, obviously, described embodiment is only the present invention's part embodiment, instead ofWhole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not making creationThe every other embodiment obtaining under property work prerequisite, belongs to the scope of protection of the invention.
Referring to Fig. 1, it is the flow chart of an embodiment of applied program testing method provided by the invention.
As shown in Figure 1, described applied program testing method comprises step S11~S13:
S11, sends packing request, triggers that web server is obtained the code of application program to be measured and by described generationCode is packaged into installation kit;
In the middle of concrete enforcement, described packing request is http request, in described packing request, comprises program generationCode place SVN directory information and/or need packetization types. Because existing mobile terminal system is mainly iosAnd android, described packetization types mainly comprises ipa form and apk form. It should be noted that, according toThe call format of different system and installation kit, the present invention obviously can also be generalized in the middle of other system, noShould be considered as limitation of the present invention.
In the embodiment of the present invention, preferably adopt SVN (Subversion) server to carry out the program code of exploitationManagement, the recent program code that developer completes exploitation is submitted in SVN server, with people to be testedMember's installation testing of packing, the code of application program to be measured described in the present embodiment be developer in advanceBe updated to the code in SVN server.
Web server receives after the packing request of mobile terminal transmission, will be according to predefined SVN orderSVN directory information in record information or described packing request obtains described to be measured from SVN serverThe up-to-date code of application program. Then, described web server will be according to predefined packetization types orPacketization types in described packing request, calls corresponding strapping tool described code is packaged into installation kit.In described packing request, both can comprise SVN directory information, also can not comprise described SVN directory information,In the time not comprising SVN directory information in described packing request, can from the SVN catalogue of acquiescence, obtain up-to-dateProgram code. And in packing process, web server, by according to the different demands of different system, is called correspondingStrapping tool revise corresponding parameter to generate mobile terminal executable installation kit.
S12, receives the information that packing that described web server returns completes, from described web server underCarry described installation kit and install;
Web server is stored the installation kit of having packed, and asks to inform mobile terminal by httpProgram is packed successfully and can be downloaded, and mobile terminal receives the feedback that web server has been packedAfter information, will automatically from described web server, download described installation kit and trigger and install.
S13, tests the application program described to be measured of installation.
After application program to be measured is installed in mobile terminal, tester can treat described according to actual needsSurvey application program and carry out test manually or automatically, to check application program to be measured whether to satisfy the demands.
In the middle of concrete enforcement, the applied program testing method that the present embodiment provides also comprises:
Current progress msg is shown; Wherein, described progress msg comprise packing progress, download intoOne or more combinations in degree and installation progress.
Can show have to current progress and speed of download etc. by the self-defined control in mobile terminalBe beneficial to the control of tester to test process.
In the middle of practical application, can be by the integrated above-mentioned functions of APP in mobile terminal, user passes through APPIn " installation " button, send http request to web server, the renewal of a key trigger code,Packing, download and installation, greatly optimized testing process, improved testing efficiency. Can also be furtherGround adds rights management function, guarantees could normally use the user of legal authorization the function of this APP, carriesThe security of high development and testing.
Referring to Fig. 2, it is the flow chart of another embodiment of applied program testing method provided by the invention. ThisThe general principle of embodiment is with embodiment illustrated in fig. 1 identical, and itself and difference embodiment illustrated in fig. 1 be,The S11 of step described in the present embodiment specifically comprises the following steps:
S211, sends packing request, trigger described web server judge whether to pack described to be measured shouldBy program;
S212, in the time that described web server is not being packed described application program to be measured, triggers described webServer obtains the code of described application program to be measured and described code is packaged into installation kit;
In the middle of concrete enforcement, in the time that described web server is not being packed described application program to be measured,Described web server is just carried out renewal and the packing of program code, the renewal of program code and packing process andConsistent in embodiment illustrated in fig. 1, the associated description in can embodiment shown in Figure 1.
S213, in the time that described web server is being packed described application program to be measured, takes by described webBusiness device blocks described packing request, waits for that described application program to be measured is packaged into installation kit.
In the middle of concrete enforcement, in the time that described web server is being packed described application program to be measured, described inWeb server no longer repeats obtaining and packing of code, but described packing request is blocked, etc.After described application program to be measured is packaged into installation kit, return to the information of having packed, mobile terminal is downloaded peaceFill described installation kit and test.
Other steps in the present embodiment with embodiment illustrated in fig. 1 in identical, be not described in detail in this, can be referring toAssociated description in embodiment illustrated in fig. 1;
The present embodiment has further added packing request has been blocked on basis embodiment illustrated in fig. 1Function, in the time that web server is packed to application program to be measured, for follow-up other that receiveThe packing request to same application program to be measured that mobile terminal sends is blocked, and waits for described application to be measuredWhen program has been packed, return in the lump the information of having packed, download peace to trigger all mobile terminalsFill, effectively reduced the burden of web server, be conducive to optimize the resource distribution of web server.
Referring to Fig. 3, it is the structural representation of an embodiment of Application testing device provided by the invention.The general principle of the present embodiment is consistent with general principle embodiment illustrated in fig. 1, in the present embodiment in detail it is not described in detailPlace, the associated description in can embodiment shown in Figure 1.
As shown in Figure 3, described Application testing device comprises:
Request sending module 31, for sending packing request, triggers web server and obtains application program to be measuredCode and described code is packaged into installation kit;
Download and install module 32, the information completing for receiving packing that described web server returns, from instituteState and in web server, download described installation kit and install;
Test module 33, tests for the application program described to be measured to installation.
Described request sending module 31 comprises:
Code obtaining trigger element 311, for triggering described web server according to predefined SVN orderSVN directory information in record information or described packing request obtains described to be measured from SVN serverThe up-to-date code of application program. Wherein, the code of described application program to be measured is updated in advance for developerCode in described SVN server.
Code packing trigger element 312, for triggering described web server according to predefined packetization typesOr the packetization types in described packing request, calls corresponding strapping tool described code is packaged into installationBag.
Referring to Fig. 4, it is the structural representation of another embodiment of Application testing device provided by the inventionFigure. The flesh and blood of the present embodiment, corresponding to embodiment illustrated in fig. 2, do not describe part in detail and can join in the present embodimentAssociated description in embodiment as shown in Figure 2.
As shown in Figure 4, described Application testing device comprises:
Request sending module 41, for sending packing request, triggers web server and obtains application program to be measuredCode and described code is packaged into installation kit;
Download and install module 32, the information completing for receiving packing that described web server returns, from instituteState and in web server, download described installation kit and install;
Test module 33, tests for the application program described to be measured to installation.
The present embodiment and difference embodiment illustrated in fig. 3 be, in the present embodiment for alleviating web serverBurden, in the process of packing in web server, the identical packing request that other mobile terminals are sentBlock, described request sending module 41 specifically comprises:
Judge trigger element 411, for sending packing request, trigger described web server and judge whetherThe described application program to be measured of packing;
Packing trigger element 412, for the described application program to be measured of not packing when described web serverTime, trigger described web server and obtain the code of described application program to be measured and described code is packaged into peaceDress bag;
Block trigger element 413, in the time that described web server is being packed described application program to be measured,Block described packing request by described web server, wait for that described application program to be measured is packaged into installationBag.
Though do not draw in Fig. 3 or Fig. 4, described Application testing device can further include:
Progress display module, for showing current progress msg by described mobile terminal; Wherein,Described progress msg comprises one or more combinations in packing progress, download progress and installation progress.
Referring to Fig. 5, it is the flow chart of another embodiment of applied program testing method provided by the invention. ThisEmbodiment is mainly described based on web server end one side, its flesh and blood and embodiment illustrated in fig. 1Cause, part is not described in detail in detail in the present embodiment, the associated description in can embodiment shown in Figure 1.
As shown in Figure 5, described applied program testing method comprises step S51~S53:
S51, the packing request that mobile terminal receive sends;
S52, obtains the code of application program to be measured and described code is packaged into installation kit;
S53, returns to the information of having packed to described mobile terminal, trigger described mobile terminal and download and installDescribed installation kit; By described mobile terminal, the application program described to be measured of installation is tested.
In the middle of concrete enforcement, described in obtain the code of application program to be measured, be specially:
According to the SVN directory information in predefined SVN directory information or described packing request, fromIn SVN server, obtain the up-to-date code of described application program to be measured. The code of described application program to be measured isDeveloper is updated to the code in described SVN server in advance.
Described described code is packaged into installation kit, is specially:
According to the packetization types in predefined packetization types or described packing request, call and beat accordinglyDescribed code is packaged into installation kit by job contract tool.
In the middle of concrete enforcement, described method of testing can further include:
By described mobile terminal, current progress msg is shown; Wherein, described progress msg comprisesOne or more combinations in packing progress, download progress and installation progress.
Referring to Fig. 6, it is the flow chart of another embodiment of applied program testing method provided by the invention. ThisEmbodiment is mainly described based on web server end one side, its flesh and blood and embodiment illustrated in fig. 2Cause, the associated description of part in can embodiment shown in Figure 2 is not described in detail in detail in the present embodiment. The present embodiment existsOn basis embodiment illustrated in fig. 5, expand, to realize the obstruction to packing request, institute in the present embodimentStating step S52 specifically comprises:
S621, described application program to be measured judges whether to pack;
S622, in the time not packing described application program to be measured, obtains the code of application program to be measured alsoDescribed code is packaged into installation kit;
S623, in the time packing described application program to be measured, blocks described packing request, treats described in waitSurvey application program and be packaged into installation kit.
Other steps in the present embodiment, with embodiment illustrated in fig. 5 consistent, do not describe part in detail in the present embodiment,Associated description in can embodiment shown in Figure 5.
Referring to Fig. 7, it is the structural representation of another embodiment of Application testing device provided by the inventionFigure. The flesh and blood of the present embodiment, corresponding to embodiment illustrated in fig. 5, do not describe part in detail and can join in the present embodimentSee the associated description in Fig. 5.
As shown in Figure 7, described Application testing device comprises:
Request receiving module 71, the packing request sending for mobile terminal receive;
Code packetization module 72, for obtaining the code of application program to be measured and described code being packaged into installationBag;
Information feedback module 73, for return to the information of having packed to described mobile terminal, moves described in triggeringMoving terminal downloads is also installed described installation kit, and should to the described to be measured of installation by described mobile terminalTest by program.
Wherein, described code packetization module 72 comprises:
Code obtaining unit 721, for according to predefined SVN directory information or described packing requestIn SVN directory information, from SVN server, obtain the up-to-date code of described application program to be measured. InstituteThe code of stating application program to be measured is that developer is updated to the code in described SVN server in advance.
Code packaged unit 722, for beating according to predefined packetization types or described packing requestBag type, calls corresponding strapping tool described code is packaged into installation kit.
Referring to Fig. 8, it is the structural representation of another embodiment of Application testing device provided by the inventionFigure. The general principle of the present embodiment is consistent with general principle embodiment illustrated in fig. 6, not detailed in the present embodimentState the associated description of part in can embodiment shown in Figure 6.
As shown in Figure 8, described Application testing device comprises:
Request receiving module 71, the packing request sending for mobile terminal receive;
Code packetization module 82, for obtaining the code of application program to be measured and described code being packaged into installationBag;
Information feedback module 73, for return to the information of having packed to described mobile terminal, moves described in triggeringMoving terminal downloads is also installed described installation kit, and should to the described to be measured of installation by described mobile terminalTest by program.
The present embodiment and difference embodiment illustrated in fig. 7 be, the present embodiment is in described code packetization module 82Further comprise:
Judging unit 821, for judging whether the described application program to be measured of packing;
Packaged unit 822, in the time not packing described application program to be measured, obtains application journey to be measuredThe code of order is also packaged into installation kit by described code;
Block unit 823, in the time packing described application program to be measured, block described packing request,Wait for that described application program to be measured is packaged into installation kit.
Though do not draw in Fig. 7 or Fig. 8, described Application testing device can further include:
Progress display module, for showing current progress msg by described mobile terminal; Wherein,Described progress msg comprises one or more combinations in packing progress, download progress and installation progress.
Referring to Fig. 9, it is the structural representation of an embodiment of Application testing system provided by the invention.The general principle of the present embodiment is consistent with general principle embodiment illustrated in fig. 1, in the present embodiment in detail it is not described in detailThe associated description of place in can embodiment shown in Figure 1.
As shown in Figure 9, described Application testing system comprises mobile terminal 91 and web server 92;
Described mobile terminal 91 comprises request sending module 911;
Described request sending module 911, for sending packing request to described web server 92
Described web server 92 comprises code packetization module 921 and information feedback module 922;
Described code packetization module 921, the packing request sending for receiving described mobile terminal, obtains to be measuredThe code of application program is also packaged into installation kit by described code;
Described information feedback module 922, for returning to the information of having packed to described mobile terminal 91;
Described mobile terminal 91 also comprises and downloads and installs module 912 and test module 913;
The described module 912 that downloads and installs, the letter completing for receiving packing that described web server 92 returnsBreath is downloaded described installation kit and installs from described web server 92;
Described test module 913, tests for the application program described to be measured to installation.
Described test macro also comprises:
SVN server 93, for storing the code of described application program to be measured;
One preferred embodiment in the middle of, described code packetization module 921 comprises Code obtaining unit 9211With code packaged unit 9212; ;
Described Code obtaining unit 9211, for according to predefined SVN directory information or described packingSVN directory information in request obtains the up-to-date of described application program to be measured from described SVN serverCode.
Described code packaged unit 9212, for according to predefined packetization types or described packing requestIn packetization types, call corresponding strapping tool described code be packaged into installation kit.
As shown in figure 10, in the middle of another kind is preferably implemented, described code packetization module 921 comprises:
Judging unit 101, for judging whether the described application program to be measured of packing;
Packaged unit 102, in the time not packing described application program to be measured, obtains application journey to be measuredThe code of order is also packaged into installation kit by described code;
Block unit 103, in the time packing described application program to be measured, block described packing request,Wait for that described application program to be measured is packaged into installation kit.
Though in Fig. 9 or Figure 10, do not draw, concrete implement when described in mobile terminal 91 can also be furtherComprise progress display module;
Described progress display module, for showing current progress msg by described mobile terminal;Wherein, described progress msg comprises one or more combinations in packing progress, download progress and installation progress.
In sum, applied program testing method, device and system that the embodiment of the present invention provides, can pass throughMobile terminal one key sends packing request, triggers that web server is obtained up-to-date program code and by institute's codeBe packaged into installation kit, the most described installation kit is automatically pushed to described mobile terminal and downloads and installs, withCarry out Application testing. Applied program testing method that compared with prior art, the embodiment of the present invention provides,Device and system have been saved the process of manually obtaining code, packing, download and installation, and whole test process canTriggered by mobile terminal one key, shortened from exploitation submit to code test to tester timeBetween, improve testing efficiency.
It should be noted that, device embodiment described above is only that schematically wherein said conduct dividesUnit from part description can or can not be also physically to separate, the parts that show as unitCan be or can not be also physical location, can be positioned at a place, or also can be distributed to manyOn individual NE. Can select according to the actual needs some or all of module wherein to realize this realityExecute the object of routine scheme. In addition, in device embodiment accompanying drawing provided by the invention, the connection between module is closedSystem represents to have communication connection between them, specifically can be implemented as one or more communication bus or holding wire.Those of ordinary skill in the art, in the situation that not paying creative work, are appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to thisThe bright mode that can add essential common hardware by software realizes, and can certainly comprise by specialized hardwareSpecial IC, dedicated cpu, private memory, special components and parts etc. are realized. Generally,All functions being completed by computer program can realize with corresponding hardware easily, and, be used forThe particular hardware structure that realizes same function can be also diversified, for example analog circuit, digital circuitOr special circuit etc. But software program realization is better enforcement side under more susceptible for the purpose of the present invention conditionFormula. Based on such understanding, technical scheme of the present invention contributes to prior art in essence in other wordsPart can embody with the form of software product, and this computer software product is stored in the storage can readIn medium, as the floppy disk of computer, USB flash disk, portable hard drive, read-only storage (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc.,Comprise some instructions in order to make a computer equipment (can be personal computer, server, or netNetwork equipment etc.) carry out the method described in the present invention each embodiment.
The above be only the specific embodiment of the present invention, but protection scope of the present invention is not limited toThis, any be familiar with those skilled in the art the present invention disclose technical scope in, can expect easilyChange or replace, within all should being encompassed in protection scope of the present invention. Therefore, protection scope of the present invention shouldProtection domain with described claim is as the criterion.

Claims (29)

1. an applied program testing method, is characterized in that, comprising:
Send packing request, trigger web server and obtain the code of application program to be measured and described code is beatenBe bundled into installation kit;
Receive the information that packing that described web server returns completes, from described web server, download instituteState installation kit and install;
Application program described to be measured to installation is tested.
2. applied program testing method as claimed in claim 1, is characterized in that, described web serverThe code that obtains tested application program, is specially:
Described web server is according to the SVN in predefined SVN directory information or described packing requestDirectory information obtains the up-to-date code of described application program to be measured from SVN server.
3. applied program testing method as claimed in claim 2, is characterized in that, described application journey to be measuredThe code of order is that developer is updated to the code in described SVN server in advance.
4. applied program testing method as claimed in claim 1, is characterized in that, described web serverDescribed code is packaged into installation kit, is specially:
Described web server is according to the packetization types in predefined packetization types or described packing request,Call corresponding strapping tool described code is packaged into installation kit.
5. applied program testing method as claimed in claim 1, is characterized in that, described triggering web clothesBusiness device obtains the code of application program to be measured and described code is packaged into installation kit, is specially:
Trigger the described web server described application program to be measured that judges whether to pack;
In the time that described web server is not being packed described application program to be measured, trigger described web servicesDevice obtains the code of described application program to be measured and described code is packaged into installation kit;
In the time that described web server is being packed described application program to be measured, hinder by described web serverFill in described packing request, wait for that described application program to be measured is packaged into installation kit.
6. the applied program testing method as described in claim 1~5 any one, is characterized in that, described surveyMethod for testing also comprises:
Current progress msg is shown; Wherein, described progress msg comprise packing progress, download intoOne or more combinations in degree and installation progress.
7. an Application testing device, is characterized in that, comprising:
Request sending module, for sending packing request, triggers web server and obtains application program to be measuredCode is also packaged into installation kit by described code;
Download and install module, the information completing for receiving packing that described web server returns, from describedIn web server, download described installation kit and install;
Test module, tests for the application program described to be measured to installation.
8. Application testing device as claimed in claim 7, is characterized in that, described request sends mouldPiece comprises:
Code obtaining trigger element, believes according to predefined SVN catalogue for triggering described web serverSVN directory information in breath or described packing request obtains described application to be measured from SVN serverThe up-to-date code of program.
9. Application testing device as claimed in claim 8, is characterized in that, described application journey to be measuredThe code of order is that developer is updated to the code in described SVN server in advance.
10. Application testing device as claimed in claim 7, is characterized in that, described request sendsModule also comprises:
Code packing trigger element, for triggering described web server according to predefined packetization types orPacketization types described in person in packing request, calls corresponding strapping tool described code is packaged into installation kit.
11. Application testing devices as claimed in claim 7, is characterized in that, described request sendsModule comprises:
Judge trigger element, for sending packing request, trigger described web server and judge whether to beatWrap described application program to be measured;
Packing trigger element, in the time that described web server is not being packed described application program to be measured,Triggering described web server obtains the code of described application program to be measured and described code is packaged into installation kit;
Block trigger element, in the time that described web server is being packed described application program to be measured, logicalCross described web server and block described packing request, wait for that described application program to be measured is packaged into installation kit.
12. Application testing devices as described in claim 7~11 any one, is characterized in that, also bagDraw together:
Progress display module, for showing current progress msg; Wherein, described progress msg bagDraw together one or more combinations in packing progress, download progress and installation progress.
13. 1 kinds of applied program testing methods, is characterized in that, comprising:
The packing request that mobile terminal receive sends, obtains the code of application program to be measured and described code is beatenBe bundled into installation kit;
Return to the information of having packed to described mobile terminal, trigger described in described mobile terminal downloads and installInstallation kit; By described mobile terminal, the application program described to be measured of installation is tested.
14. applied program testing methods as claimed in claim 13, is characterized in that, described in obtain to be measuredThe code of application program, is specially:
According to the SVN directory information in predefined SVN directory information or described packing request, fromIn SVN server, obtain the up-to-date code of described application program to be measured.
15. applied program testing methods as claimed in claim 14, is characterized in that, described application journey to be measuredThe code of order is that developer is updated to the code in described SVN server in advance.
16. applied program testing methods as claimed in claim 13, is characterized in that, described by described generationCode is packaged into installation kit, is specially:
According to the packetization types in predefined packetization types or described packing request, call and beat accordinglyDescribed code is packaged into installation kit by job contract tool.
17. applied program testing methods as claimed in claim 13, is characterized in that, described in obtain to be measuredThe code of application program is also packaged into installation kit by described code, is specially:
Described application program to be measured judges whether to pack;
In the time not packing described application program to be measured, obtain application program to be measured code and will described inCode is packaged into installation kit;
In the time packing described application program to be measured, block described packing request, wait for described application to be measuredProgram is packaged into installation kit.
18. applied program testing methods as described in claim 13~17 any one, is characterized in that instituteStating method of testing also comprises:
By described mobile terminal, current progress msg is shown; Wherein, described progress msg comprisesOne or more combinations in packing progress, download progress and installation progress.
19. 1 kinds of Application testing devices, is characterized in that, comprising:
Request receiving module, the packing request sending for mobile terminal receive;
Code packetization module, for obtaining the code of application program to be measured and described code being packaged into installation kit;
Information feedback module, for return to the information of having packed to described mobile terminal, triggers described movementTerminal downloads is also installed described installation kit, and the application described to be measured to installation by described mobile terminalProgram is tested.
20. Application testing devices as claimed in claim 19, is characterized in that, described code packingModule comprises:
Code obtaining unit, for according to predefined SVN directory information or described packing requestSVN directory information obtains the up-to-date code of described application program to be measured from SVN server.
21. Application testing devices as claimed in claim 20, is characterized in that, described application to be measuredThe code of program is that developer is updated to the code in described SVN server in advance.
22. Application testing devices as claimed in claim 19, is characterized in that, described code packingModule comprises:
Code packaged unit, for according to the packing of predefined packetization types or described packing requestType, calls corresponding strapping tool described code is packaged into installation kit.
23. Application testing devices as claimed in claim 19, is characterized in that, described code packingModule comprises:
Judging unit, for judging whether the described application program to be measured of packing;
Packaged unit, in the time not packing described application program to be measured, obtains application program to be measuredCode and described code is packaged into installation kit;
Block unit, in the time packing described application program to be measured, block described packing request, etc.Treat that described application program to be measured is packaged into installation kit.
24. Application testing devices as described in claim 19~23 any one, is characterized in that, alsoComprise:
Progress display module, for showing current progress msg by described mobile terminal; Wherein,Described progress msg comprises one or more combinations in packing progress, download progress and installation progress.
25. 1 kinds of Application testing systems, is characterized in that, comprise mobile terminal and web server;
Described mobile terminal comprises request sending module;
Described request sending module, for sending packing request to described web server
Described web server comprises code packetization module and information feedback module;
Described code packetization module, the packing request sending for receiving described mobile terminal, obtains to be measured answeringBe packaged into installation kit with the code of program and by described code;
Described information feedback module, for returning to the information of having packed to described mobile terminal;
Described mobile terminal also comprises and downloads and installs module and test module;
The described module that downloads and installs, the information completing for receiving packing that described web server returns, fromIn described web server, download described installation kit and install;
Described test module, tests for the application program described to be measured to installation.
26. Application testing systems as claimed in claim 25, is characterized in that described test macroAlso comprise:
SVN server, for storing the code of described application program to be measured;
Described code packetization module comprises Code obtaining unit;
Described Code obtaining unit, for according to predefined SVN directory information or described packing requestIn SVN directory information, from described SVN server, obtain the up-to-date code of described application program to be measured.
27. Application testing systems as claimed in claim 25, is characterized in that, described code packingModule comprises code packaged unit;
Described code packaged unit, for according to predefined packetization types or described packing requestPacketization types, calls corresponding strapping tool described code is packaged into installation kit.
28. Application testing devices as claimed in claim 25, is characterized in that, described code packingModule comprises:
Judging unit, for judging whether the described application program to be measured of packing;
Packaged unit, in the time not packing described application program to be measured, obtains application program to be measuredCode and described code is packaged into installation kit;
Block unit, in the time packing described application program to be measured, block described packing request, etc.Treat that described application program to be measured is packaged into installation kit.
29. Application testing systems as described in claim 25~28 any one, is characterized in that instituteState mobile terminal and also comprise progress display module;
Described progress display module, for showing current progress msg by described mobile terminal;Wherein, described progress msg comprises one or more combinations in packing progress, download progress and installation progress.
CN201510632282.1A 2015-09-29 2015-09-29 Applied program testing method, device and system Active CN105607992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510632282.1A CN105607992B (en) 2015-09-29 2015-09-29 Applied program testing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510632282.1A CN105607992B (en) 2015-09-29 2015-09-29 Applied program testing method, device and system

Publications (2)

Publication Number Publication Date
CN105607992A true CN105607992A (en) 2016-05-25
CN105607992B CN105607992B (en) 2019-02-19

Family

ID=55987944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510632282.1A Active CN105607992B (en) 2015-09-29 2015-09-29 Applied program testing method, device and system

Country Status (1)

Country Link
CN (1) CN105607992B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095415A (en) * 2016-06-01 2016-11-09 乐视控股(北京)有限公司 Exploitation file packing method, Apparatus and system
CN106126432A (en) * 2016-09-18 2016-11-16 网易(杭州)网络有限公司 Development project is revised method of testing and the device of content
CN106528404A (en) * 2016-09-30 2017-03-22 腾讯科技(深圳)有限公司 Mobile application test method and apparatus
CN107247661A (en) * 2017-05-09 2017-10-13 北京京东尚科信息技术有限公司 Support the method and system to the installation kit progress automatic Verification of application
CN109343871A (en) * 2018-12-07 2019-02-15 武汉掌游科技有限公司 Method, apparatus, equipment and the storage medium that application program is packaged
CN109766258A (en) * 2018-11-30 2019-05-17 北京奇艺世纪科技有限公司 A kind of performance test methods, device and computer readable storage medium
CN110069399A (en) * 2019-03-15 2019-07-30 平安普惠企业管理有限公司 HTML5 packet installation testing method, device, computer equipment and storage medium
CN110716851A (en) * 2018-07-12 2020-01-21 北京奇虎科技有限公司 Test method and device
CN111651192A (en) * 2020-05-20 2020-09-11 深圳市致宇天承科技有限公司 Implementation method of multi-terminal automatic packaging scheme based on web
CN112241286A (en) * 2020-08-05 2021-01-19 北京沃东天骏信息技术有限公司 Resource package configuration method and device and storage medium
CN113342682A (en) * 2021-06-29 2021-09-03 上海闻泰信息技术有限公司 System compatibility testing method and device
CN113688057A (en) * 2021-10-21 2021-11-23 统信软件技术有限公司 Method and system for testing performance of computing equipment, computing equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078693A1 (en) * 2002-03-22 2004-04-22 Kellett Stephen Richard Software testing
CN103970648A (en) * 2013-01-30 2014-08-06 百度国际科技(深圳)有限公司 Test method and system of installation package
CN103997453A (en) * 2014-05-13 2014-08-20 北京奇虎科技有限公司 Information processing method and device relevant to application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078693A1 (en) * 2002-03-22 2004-04-22 Kellett Stephen Richard Software testing
CN103970648A (en) * 2013-01-30 2014-08-06 百度国际科技(深圳)有限公司 Test method and system of installation package
CN103997453A (en) * 2014-05-13 2014-08-20 北京奇虎科技有限公司 Information processing method and device relevant to application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘甜: "软件发布机制的研究与应用", 《中国优秀硕士学位论文全文数据库》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095415A (en) * 2016-06-01 2016-11-09 乐视控股(北京)有限公司 Exploitation file packing method, Apparatus and system
CN106126432A (en) * 2016-09-18 2016-11-16 网易(杭州)网络有限公司 Development project is revised method of testing and the device of content
US10698797B2 (en) 2016-09-30 2020-06-30 Tencent Technology (Shenzhen) Company Limited Mobile application program testing method, server, terminal, and storage medium
CN106528404A (en) * 2016-09-30 2017-03-22 腾讯科技(深圳)有限公司 Mobile application test method and apparatus
CN106528404B (en) * 2016-09-30 2019-03-29 腾讯科技(深圳)有限公司 Mobile applications test method and device
CN107247661A (en) * 2017-05-09 2017-10-13 北京京东尚科信息技术有限公司 Support the method and system to the installation kit progress automatic Verification of application
CN107247661B (en) * 2017-05-09 2020-07-31 北京京东尚科信息技术有限公司 Method and system for supporting automatic verification of installation package of application
CN110716851A (en) * 2018-07-12 2020-01-21 北京奇虎科技有限公司 Test method and device
CN109766258A (en) * 2018-11-30 2019-05-17 北京奇艺世纪科技有限公司 A kind of performance test methods, device and computer readable storage medium
CN109343871A (en) * 2018-12-07 2019-02-15 武汉掌游科技有限公司 Method, apparatus, equipment and the storage medium that application program is packaged
CN110069399A (en) * 2019-03-15 2019-07-30 平安普惠企业管理有限公司 HTML5 packet installation testing method, device, computer equipment and storage medium
CN111651192A (en) * 2020-05-20 2020-09-11 深圳市致宇天承科技有限公司 Implementation method of multi-terminal automatic packaging scheme based on web
CN112241286A (en) * 2020-08-05 2021-01-19 北京沃东天骏信息技术有限公司 Resource package configuration method and device and storage medium
CN113342682A (en) * 2021-06-29 2021-09-03 上海闻泰信息技术有限公司 System compatibility testing method and device
CN113342682B (en) * 2021-06-29 2022-12-30 上海闻泰信息技术有限公司 System compatibility testing method and device
CN113688057A (en) * 2021-10-21 2021-11-23 统信软件技术有限公司 Method and system for testing performance of computing equipment, computing equipment and storage medium

Also Published As

Publication number Publication date
CN105607992B (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN105607992A (en) Application program test method, device and system
US10871953B2 (en) Application update method and apparatus
CN106598835B (en) Application testing method, device and system
CN105138382B (en) A kind of method and terminal of android system upgrading
CN102915247B (en) APK plug-in unit management method
KR101917934B1 (en) Zero downtime deployment and rollback
CN109409096B (en) Kernel vulnerability repairing method, device, server and system
WO2019062703A1 (en) Update method, and embedded system
CN110597542B (en) Software automatic OTA (over the air) upgrading method and device and electronic equipment
GB2507596A (en) A method for updating software in a device that makes payment transactions
CN105653310B (en) Using installation method, device and electronic equipment
CN108809683B (en) Method and device for deploying cloud application system
CN110399153B (en) System upgrading method, device, terminal and computer readable storage medium
CN102447732A (en) Method for intelligent configuration of host computer embedded environment during BMC (Baseboard Management Controller) development
US20200167215A1 (en) Method and System for Implementing an Application Programming Interface Automation Platform
CN108121560A (en) Difference bag upgrade method, device, terminal and computer readable storage medium
CN104125504A (en) Deployment method, device and system based on continuous integration
CN110851168A (en) Data processing method and device and computer readable storage medium
CN110362333A (en) A kind of quick solution, device and electronic equipment that client upgrading hinders
CN113485755A (en) Device driver verification method, device and storage medium
CN104915288A (en) Testing method and device
CN104239112A (en) Device driver installation method and device
CN114546819A (en) Code processing method and device, electronic equipment and readable medium
CN109614081B (en) Browser implementation method and device and mobile terminal
CN111104138A (en) Firmware upgrading method and device and computer readable storage medium

Legal Events

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