CN105302727A - Testing method, device and system - Google Patents

Testing method, device and system Download PDF

Info

Publication number
CN105302727A
CN105302727A CN201510792597.2A CN201510792597A CN105302727A CN 105302727 A CN105302727 A CN 105302727A CN 201510792597 A CN201510792597 A CN 201510792597A CN 105302727 A CN105302727 A CN 105302727A
Authority
CN
China
Prior art keywords
test
testing apparatus
test assignment
tested
assignment information
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
CN201510792597.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 Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510792597.2A priority Critical patent/CN105302727A/en
Publication of CN105302727A publication Critical patent/CN105302727A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a testing method, device and system. The method comprises the steps of receiving test task information for testing an application program to be tested, wherein the test task information at least comprises an installation package of the application program to be tested; sending the test task information to a server; receiving a test result returned back by the server, wherein the test result is obtained by collection from a test device for executing the test task of the application program to be tested through the server; displaying the test result. By means of the technology, a developer can automatically complete testing of the application program through the server side just by providing the test task information to the server, and manpower and materials are saved.

Description

Method of testing, Apparatus and system
Technical field
The disclosure relates to technical field of measurement and test, particularly relates to method of testing, Apparatus and system.
Background technology
Intelligent electronic device wide variety in the market, application developers are in order to adaptation many moneys equipment, need to buy a large amount of electronic equipment to test, this just needs a large amount of manpower of cost to test on many moneys type, wastes manpower and materials greatly.
Summary of the invention
Disclosure embodiment provides method of testing, Apparatus and system.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of method of testing, for client, comprising:
Receive the test assignment information treated test application and carry out testing, in described test assignment information, at least comprise the installation kit of application program to be tested;
Described test assignment information is sent to server;
Receive the test result that described server returns, described test result is obtained from the testing apparatus collection performing described application testing test assignment to be tested by described server;
Show described test result.
In one embodiment, the mark of test-types to described application program to be tested and described testing apparatus is also comprised in described test assignment information.
In one embodiment, the test assignment information that test application carries out testing is treated in described reception, comprising:
Show the first list and the second list, described first list at least comprises a kind of test-types, and described second list at least comprises equipment mark separately;
Obtain in described first list by the test-types selected and in described second list by the mark of equipment selected;
Receive the installation kit of the application program to be tested of input;
By the described test-types being defined as described application program to be tested by the test-types selected, the described mark by the equipment selected is defined as the mark of described testing apparatus;
According to the installation kit of the application program to be tested of described input, described test assignment information is generated to the test-types of described application program to be tested and the mark of described testing apparatus.
In one embodiment, described described test assignment information is sent to server, comprising:
Receive the request of the described test assignment information of acquisition that described server sends; In response to described request, described test assignment information is sent to described server; Or
Receive the transmission instruction of input; In response to described transmission instruction, described test assignment information is sent to described server.
According to the second aspect of disclosure embodiment, provide a kind of method of testing, for server, comprising:
Obtain the test assignment information that client sends, in described test assignment information, at least comprise the installation kit of application program to be tested;
The installation kit of described application program to be tested is distributed to testing apparatus install;
Control described testing apparatus and treat test application execution test assignment;
Collect the test result generated when described testing apparatus performs described test assignment;
Described test result is sent to described client.
In one embodiment, the mark of test-types to described application program to be tested and described testing apparatus is also comprised in described test assignment information.
In one embodiment, the described installation kit by described application program to be tested is distributed to testing apparatus and installs, and comprising:
In at least one or more equipment be connected by internet between described server, determine the marking matched target device with described testing apparatus;
The installation kit of described application program to be tested is distributed to described target device.
In one embodiment, the described testing apparatus of described control is treated test application and is performed test assignment, comprising:
Control described testing apparatus and run the test script corresponding with described test-types, to test described application program to be tested.
In one embodiment, the test result generated when described collection testing apparatus performs test assignment, comprising:
Collect test result according to default collection mode from described testing apparatus, described default collection mode comprises any one collection mode following or multiple collection mode:
After described testing apparatus performs described test assignment, obtain test and whether successfully test success or failure information; Or
Perform in described testing apparatus in the process of described test assignment, intercept the state sectional drawing of described application program to be tested; Or
Obtain the memory information of described testing apparatus when performing described test assignment; Or
Obtain the central processing unit information of described testing apparatus when performing described test assignment.
In one embodiment, the test result generated when described collection testing apparatus performs test assignment, comprising:
When meeting pre-conditioned, collecting described test result according to described default collection mode from described testing apparatus, describedly pre-conditionedly comprising arrival Preset Time; Or
The trigger condition that often kind of collection mode is corresponding different separately, when meeting arbitrary trigger condition, the collection mode corresponding according to met trigger condition collects described test result from described testing apparatus.
In one embodiment, the test assignment information that described acquisition client sends, comprising:
Send the request obtaining described test assignment information to described client according to prefixed time interval;
Receive the described test assignment information that described client returns.
According to the third aspect of disclosure embodiment, provide a kind of proving installation, for client, comprising:
First receiver module, for receiving the test assignment information treated test application and carry out testing, at least comprises the installation kit of application program to be tested in described test assignment information;
Sending module, sends to server for the described test assignment information received by described first receiver module;
Second receiver module, for receiving the test result that described server returns, described test result is obtained from the equipment collection to be tested performing described application testing test assignment to be tested by described server;
Display module, for showing the described test result that described second receiver module receives.
In one embodiment, the mark of test-types to described application program to be tested and described testing apparatus is also comprised in described test assignment information.
In one embodiment, described first receiver module, comprising:
Display sub-module, for showing the first list and the second list, described first list at least comprises a kind of test-types, and described second list at least comprises equipment mark separately;
Obtain submodule, for obtain in described first list shown by described display sub-module by the test-types selected and in described second list by the mark of equipment selected;
Receive submodule, for receiving the installation kit of the application program to be tested of input;
Determine submodule, for the described test-types being defined as described application program to be tested by the test-types selected got by described acquisition submodule, the described mark by the equipment selected got by described acquisition submodule is defined as the mark of described testing apparatus;
Generate submodule, for the application program to be tested of described input that receives according to described reception submodule installation kit, determine that the test-types of the application program to be tested that submodule is determined and the mark of described testing apparatus generate described test assignment information to described.
In one embodiment, described sending module, comprising:
First sends submodule, for receiving the request of the described test assignment information of acquisition that described server sends; In response to described request, described test assignment information is sent to described server; Or
Second sends submodule, for receiving the transmission instruction of input; In response to described transmission instruction, described test assignment information is sent to described server.
According to the fourth aspect of disclosure embodiment, provide a kind of proving installation, for server, comprising:
Acquisition module, for obtaining the test assignment information that client sends, at least comprises the installation kit of application program to be tested in described test assignment information;
Distribution module, the installation kit for the application program described to be tested got by described acquisition module is distributed to testing apparatus and installs;
Control module, treats test application execution test assignment for controlling described testing apparatus;
Collection module, for collecting the test result generated when described testing apparatus performs described test assignment;
Sending module, sends to described client for the described test result of being collected by described collection module.
In one embodiment, the mark of test-types to described application program to be tested and described testing apparatus is also comprised in described test assignment information.
In one embodiment, described distribution module, comprising:
Determine submodule, at least one or more equipment of being connected by internet between described server, determine the marking matched target device with described testing apparatus;
Distribution submodule, the installation kit for the application program described to be tested got by described acquisition module is distributed to described target device.
In one embodiment, described control module, comprising:
Controlling submodule, running the test script corresponding with described test-types, to test described application program to be tested for controlling described testing apparatus.
In one embodiment, described collection module, comprising:
First collects submodule, and for collecting test result according to default collection mode from described testing apparatus, described default collection mode comprises any one collection mode following or multiple collection mode:
After described testing apparatus performs described test assignment, obtain test and whether successfully test success or failure information; Or
Perform in described testing apparatus in the process of described test assignment, intercept the state sectional drawing of described application program to be tested; Or
Obtain the memory information of described testing apparatus when performing described test assignment; Or
Obtain the central processing unit information of described testing apparatus when performing described test assignment.
In one embodiment, described collection module, comprising:
Second collects submodule, for when meeting pre-conditioned, collects described test result according to described default collection mode from described testing apparatus, describedly pre-conditionedly comprises arrival Preset Time; Or
3rd collects submodule, and for the trigger condition that often kind of collection mode is corresponding different separately, when meeting arbitrary trigger condition, the collection mode corresponding according to met trigger condition collects described test result from described testing apparatus.
In one embodiment, described acquisition module, comprising:
Request submodule, for sending the request obtaining described test assignment information to described client according to prefixed time interval;
Receive submodule, for receiving the described test assignment information that described client returns.
According to the 5th aspect of disclosure embodiment, provide a kind of test macro, comprise client, server and at least one equipment:
Described client, for receiving the test assignment information treated test application and carry out testing, at least comprises the installation kit of application program to be tested in described test assignment information; Described test assignment information is sent to described server;
Described server, for obtaining the described test assignment information that described client sends, the installation kit of described application program to be tested is distributed to testing apparatus install, control described testing apparatus and treat test application execution test assignment, collect the test result generated when described testing apparatus performs described test assignment; Described test result is sent to described client; Wherein, described testing apparatus comprises the one or more equipment at least one equipment described;
Described client, also for receiving the described test result that described server sends, and shows described test result.
According to the 6th aspect of disclosure embodiment, a kind of proving installation is provided, for client, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the test assignment information treated test application and carry out testing, in described test assignment information, at least comprise the installation kit of application program to be tested;
Described test assignment information is sent to server;
Receive the test result that described server returns, described test result is obtained from the testing apparatus collection performing described application testing test assignment to be tested by described server;
Show described test result.
According to the 7th aspect of disclosure embodiment, a kind of proving installation is provided, for server, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the test assignment information that client sends, in described test assignment information, at least comprise the installation kit of application program to be tested;
The installation kit of described application program to be tested is distributed to testing apparatus install;
Control described testing apparatus and treat test application execution test assignment;
Collect the test result generated when described testing apparatus performs described test assignment;
Described test result is sent to described client.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
Technique scheme provides a kind of measuring technology, this technology provides a test platform for Application developer, this test platform comprises client, server and testing apparatus, as long as the test assignment information such as application program to be tested are supplied to server by the client in this system by developer, test assignment is distributed to each testing apparatus by server, each testing apparatus is treated test application and is performed corresponding test assignment, test result is also presented to developer by client by the test result that each testing apparatus of collects generates, thus developer does not need to purchase a large amount of equipment, the moment is not needed to pay close attention to test process yet, only need to provide test assignment information just automatically can be completed the test of application programs by server side to server, save manpower and materials, greatly facilitate the test of application programs.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of a kind of method of testing for client according to an exemplary embodiment.
Fig. 2 is a kind of implementing procedure figure of step S101 in the Fig. 1 according to an exemplary embodiment.
Fig. 3 is a kind of application scenarios design sketch of the client according to an exemplary embodiment.
Fig. 4 is the process flow diagram of a kind of method of testing for server according to an exemplary embodiment.
Fig. 5 is the another kind of application scenarios design sketch of the client according to an exemplary embodiment.
Fig. 6 is the block diagram of a kind of proving installation for client according to an exemplary embodiment.
Fig. 7 is the block diagram of the first receiver module 61 in the Fig. 6 according to an exemplary embodiment.
Fig. 8 is the block diagram of sending module 62 in the Fig. 6 according to an exemplary embodiment.
Fig. 9 is the block diagram of a kind of proving installation for server according to an exemplary embodiment.
Figure 10 is the block diagram of distribution module 92 in the Fig. 9 according to an exemplary embodiment.
Figure 11 is the block diagram of collection module 94 in the Fig. 9 according to an exemplary embodiment.
Figure 12 is the block diagram of acquisition module 91 in the Fig. 9 according to an exemplary embodiment.
Figure 13 is the block diagram of a kind of test macro according to an exemplary embodiment.
Figure 14 is a kind of block diagram for proving installation according to an exemplary embodiment.
Figure 15 is the block diagram of the another kind according to an exemplary embodiment for proving installation.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Disclosure embodiment provides a kind of measuring technology, this technology provides a test platform for Application developer, this test platform comprises client, server and testing apparatus, as long as the test assignment information such as application program to be tested are supplied to server by the client in this system by developer, test assignment is distributed to each testing apparatus by server, each testing apparatus is treated test application and is performed corresponding test assignment, test result is also presented to developer by client by the test result that each testing apparatus of collects generates, thus developer does not need to purchase a large amount of equipment, the moment is not needed to pay close attention to test process yet, only need to provide test assignment information just automatically can be completed the test of application programs by server side to server, save manpower and materials, greatly facilitate the test of application programs.
For above-mentioned measuring technology, according to the difference of subject of implementation, disclosure embodiment devises two cover method of testings at client and server respectively, is described respectively below:
The method of testing of client-side:
Fig. 1 is the process flow diagram of a kind of method of testing according to an exemplary embodiment, and this method of testing can be used for client, and the method comprises the steps S101-S104:
In step S101, receive the test assignment information treated test application and carry out testing, in test assignment information, at least comprise the installation kit of application program to be tested.
In step s 102, test assignment information is sent to server.
In one embodiment, can be the request of acquisition test assignment information that reception server sends; In response to request, test assignment information is sent to server.Or receive the transmission instruction of input; In response to transmission instruction, test assignment information is sent to server.
In step s 103, the test result that reception server returns, test result is obtained from the testing apparatus collection performing described application testing test assignment to be tested by server.
In step S104, show test results.
In above-mentioned method of testing, Develop Application System personnel to be tested can provide the test assignment information of the installation kit comprising application program to be tested to client, server is provided it to by client, test result is obtained from the testing apparatus performing test assignment again by server, and by client feedback to developer.Thus, developer is made not need to purchase a large amount of equipment, the moment is not needed to pay close attention to test process yet, only need to provide test assignment information to client, follow-uply just can complete by server, testing apparatus the test treating test application, obtain test result, save manpower and materials, greatly facilitate the test of application programs.
In one embodiment, can at least one or more equipment pre-configured, developer can select the testing apparatus performing test assignment from those equipment, now, also can comprise in above-mentioned test assignment information and treat the test-types of test application and the mark of testing apparatus, this mark can be the information of the energy unique identification testing apparatuss such as unit type, device name, device type.Namely, Develop Application System personnel to be tested are except providing the installation kit of application program to be tested to client, the test-types of expectation and the mark of testing apparatus can also be provided as required, so that server selects corresponding equipment to perform test assignment and control testing apparatus according to test-types according to the mark of testing apparatus perform test assignment corresponding to test-types.
In one embodiment, client can be receive by webpage or other people machine interactive interface the test assignment information treated test application and carry out testing, and now, as shown in Figure 2, above-mentioned steps S101 can be embodied as following steps S201-S205:
Step S201, show the first list and the second list, the first list at least comprises a kind of test-types, and the second list at least comprises equipment mark separately;
Step S202, obtain in the first list by the test-types selected and in the second list by the mark of equipment selected;
The installation kit of the application program to be tested of step S203, reception input;
Step S204, be defined as by the test-types selected the test-types treating test application, the mark of testing apparatus will be defined as by the mark of equipment selected;
The mark of step S205, the installation kit according to the application program to be tested of input, the test-types treating test application and testing apparatus generates test assignment information.
Namely, client can be shown to developer and comprised the first list of at least one test-types and comprise the second list of at least one equipment mark separately, developer can select the test-types for using in the first list, the testing apparatus performing test assignment can be selected in the second list, thus achieve the test assignment customization that developer can carry out personalization, the unrestricted choice of developer to test-types, testing apparatus can be met.Shown in Figure 3 is an application scenarios design sketch, client provides a WEB page 30, in this page 30, show the first list 31, second list 32, first list 31 and show three kinds of test-types: compatibility test (such as monkey test), full test (such as the test of activity traversal), depth test (such as monkey test travels through test with activity and combines) fast; Second list 32 shows the mark (using unit type as mark) of multiple equipment, the unit type of the plurality of equipment is different, developer can select the test-types oneself wanting to use in the first list 31, wherein a kind of test-types can be selected, also can select two or more test-types; Can the equipment of a kind of equipment of unit type or plurality of devices model be selected to be used as testing apparatus in the second list 32.
The method of testing of server side:
The method of testing of corresponding aforementioned client-side, as shown in Figure 4, the disclosure embodiment still provides another kind of method of testing, and for server, the method comprises the steps S401-S405:
In step S401, obtain the test assignment information that client sends, in test assignment information, at least comprise the installation kit of application program to be tested.
In step S402, the installation kit of application program to be tested is distributed to testing apparatus and installs.
In step S403, control testing apparatus and treat test application execution test assignment.
In step s 404, the test result generated when testing apparatus performs test assignment is collected.
In step S405, test result is sent to client.
In above-mentioned method of testing, the test assignment information comprising the installation kit of application program to be tested is supplied to server by client, control testing apparatus by server by utilizing installation kit and application program to be tested is installed, and control testing apparatus execution test assignment, collect the test result generated when testing apparatus performs test assignment, and test result is sent to client.The developer of equipment to be tested is made to understand test result by client.Thus, developer is made not need to purchase a large amount of equipment, the moment is not needed to pay close attention to test process yet, only need to provide test assignment information to client, follow-uply just can complete by server, testing apparatus the test treating test application, obtain test result, save manpower and materials, greatly facilitate the test of application programs.
In one embodiment, can at least one or more equipment pre-configured, at least one or more equipment above-mentioned can unit type different, thus make testing apparatus can be the equipment of multiple different model, the test of application program to be tested on different model equipment can be realized.Developer can select the testing apparatus performing test assignment from this at least one or more equipment, now, also can comprise and treat the test-types of test application and the mark of testing apparatus in above-mentioned test assignment information.
Correspondingly, the installation kit of application program to be tested " is distributed to testing apparatus to install " and can be embodied as following steps B1-B2 by above-mentioned steps S402: in step B1, at least one or more equipment of being connected by internet between server, determine the marking matched target device with testing apparatus; Step B2, the installation kit of application program to be tested is distributed to target device.Target device is testing apparatus.Thus achieve developer can according to self need select expect equipment perform test assignment.
In one embodiment, above-mentioned steps S403 " controls testing apparatus and treats test application execution test assignment " can be embodied as under type: control the test script that testing apparatus performance and testing type is corresponding, test to treat test application.Test script corresponding to all test-types can be previously provided with in each testing apparatus, like this, when server instruction testing apparatus starts to perform test assignment, or when testing apparatus installs application program to be tested and get the test-types of the test assignment that current needs perform, just can bring into operation corresponding test script, to test self mounted application program to be tested.
In one embodiment, above-mentioned steps S404 " collects the test result generated when testing apparatus performs test assignment " and can be embodied as under type: collect test result according to default collection mode from testing apparatus, default collection mode comprises any one collection mode following or multiple collection mode.Collection mode can be: after testing apparatus performs test assignment, obtains test and whether successfully tests success or failure information; Or collection mode can be: perform in testing apparatus in the process of test assignment, intercept the state sectional drawing of application program to be tested; Or collection mode can be: obtain the memory information of testing apparatus when performing test assignment; Or collection mode can be: obtain the central processing unit information of testing apparatus when performing test assignment.That is, test result can comprise any one information in above-mentioned test success or failure information, above-mentioned state sectional drawing, above-mentioned memory information, above-mentioned central processing unit information (above-mentioned memory information and central processing unit information belong to performance information) or multinomial information.Design sketch can with reference to figure 5.
In another embodiment, above-mentioned steps S404 " test result generated when collecting testing apparatus execution test assignment " also can be embodied as under type one or mode two:
Mode one: pre-set the time of collecting test result, when that time arrives, server just collects test result from testing apparatus.This kind of mode does not need to monitor comparatively complicated collection opportunity, makes collection process become easy.
Mode two: arrange different trigger conditions for each different collection mode in advance, when the trigger condition that any one collection mode is corresponding is satisfied, the collection mode corresponding according to met trigger condition collects test result from testing apparatus.The trigger condition of often kind of collection mode can as the information of in test assignment information, client is supplied to by developer, and sending to server by client, this kind of embodiment makes developer can obtain corresponding test result according to the individual demand of self.Such as, the trigger condition " obtaining test and whether successfully test success or failure information " this collection mode can be completed; The trigger condition " performing in the process of test assignment, intercept the state sectional drawing of application program to be tested " this collection mode in testing apparatus can be arrive the sectional drawing moment of presetting; The trigger condition of " memory information of acquisition testing apparatus when performing test assignment " this collection mode can be performing the first default testing procedure or executing the first default testing procedure; The trigger condition of " the central processing unit information of acquisition testing apparatus when performing test assignment " this collection mode can be performing the second default testing procedure or executing the second default testing procedure.This kind of mode make developer can as required or system the trigger condition of collection mode can be set as required, more meet the actual demand of user, more flexibly.
In one embodiment, above-mentioned steps S405 can be embodied as:
That is, server can periodically to client-requested test assignment information; Also can receive the test assignment information that client is initiatively sent, such as, this test assignment information, when detecting that developer have input test assignment information, is sent to server by client; Or this test assignment information, when the test assignment information not sending to server being detected, is sent to server by client.
In one embodiment, above-mentioned steps S405 " the test assignment information that acquisition client sends " can be embodied as: send the request obtaining test assignment information to client according to prefixed time interval; Receive the test assignment information that client returns.That is, server can periodically to client-requested test assignment information, and this kind of mode can be avoided missing unenforced test assignment.Certainly, also can receive the test assignment information that client is initiatively sent, such as, this test assignment information, when detecting that developer have input test assignment information, is sent to server by client; Or this test assignment information, when the test assignment information not sending to server being detected, is sent to server by client.
In one embodiment, be connected between client with server by internet, like this, developer can realize Long-distance Control test process.In addition, can be that cable data is connected between server with above-mentioned testing apparatus, also can be connected by internet; When being connected by internet between server with above-mentioned testing apparatus, testing apparatus can be the equipment that the people in society have, now, make it possible to the equipment need not purchasing various different model, as long as and with society on have different model equipment people reach cooperation agreement, just can complete test, thus take full advantage of social resources, save exploitation and the implementation cost of this measuring technology.
The method of testing for client that corresponding disclosure embodiment provides, disclosure embodiment provides a kind of proving installation, and for client, as shown in Figure 6, this device comprises:
First receiver module 61, is configured to receive the test assignment information treated test application and carry out testing, at least comprises the installation kit of application program to be tested in test assignment information;
Sending module 62, the test assignment information be configured to the first receiver module 61 receives sends to server;
Second receiver module 63, is configured to the test result that reception server returns, and test result is obtained from the equipment collection to be tested performing application testing test assignment to be tested by server;
Display module 64, is configured to the test result that display second receiver module 63 receives.
In above-mentioned proving installation, Develop Application System personnel to be tested can provide the test assignment information of the installation kit comprising application program to be tested to client, server is provided it to by client, test result is obtained from the testing apparatus performing test assignment again by server, and by client feedback to developer.Thus, developer is made not need to purchase a large amount of equipment, the moment is not needed to pay close attention to test process yet, only need to provide test assignment information to client, follow-uply just can complete by server, testing apparatus the test treating test application, obtain test result, save manpower and materials, greatly facilitate the test of application programs.
In one embodiment, can at least one or more equipment pre-configured, developer can select the testing apparatus performing test assignment from those equipment, now, also can comprise in above-mentioned test assignment information and treat the test-types of test application and the mark of testing apparatus, this mark can be the information of the energy unique identification testing apparatuss such as unit type, device name, device type.Namely, Develop Application System personnel to be tested are except providing the installation kit of application program to be tested to client, the test-types of expectation and the mark of testing apparatus can also be provided as required, so that server selects corresponding equipment to perform test assignment and control testing apparatus according to test-types according to the mark of testing apparatus perform test assignment corresponding to test-types.
In one embodiment, client can be receive by webpage or other people machine interactive interface the test assignment information treated test application and carry out testing, and now, as shown in Figure 7, the first receiver module 61, comprising:
Display sub-module 71, be configured to display first list and the second list, the first list at least comprises a kind of test-types, and the second list at least comprises equipment mark separately;
Obtain submodule 72, be configured to obtain in the first list shown by display sub-module 71 by the test-types selected and in the second list by the mark of equipment selected;
Receive submodule 73, be configured to the installation kit of the application program to be tested receiving input;
Determine submodule 74, be configured to the test-types being defined as treating test application by the test-types selected got by acquisition submodule 72, by the mark being defined as testing apparatus by the mark of the equipment selected that acquisition submodule 72 gets;
Generate submodule 75, be configured to the installation kit according to the application program to be tested receiving the input that submodule 73 receives, test assignment information is generated to the mark of the test-types and testing apparatus of determining the application program to be tested that submodule 74 is determined.
Namely, client can be shown to developer and comprised the first list of at least one test-types and comprise the second list of at least one equipment mark separately, developer can select the test-types for using in the first list, the testing apparatus performing test assignment can be selected in the second list, thus achieve the test assignment customization that developer can carry out personalization, the unrestricted choice of developer to test-types, testing apparatus can be met.Shown in Figure 3 is an application scenarios design sketch, client provides a WEB page 30, in this page 30, show the first list 31, second list 32, first list 31 and show three kinds of test-types: compatibility test (such as monkey test), full test (such as the test of activity traversal), depth test (such as monkey test travels through test with activity and combines) fast; Second list 32 shows the mark (using unit type as mark) of multiple equipment, the unit type of the plurality of equipment is different, developer can select the test-types oneself wanting to use in the first list 31, wherein a kind of test-types can be selected, also can select two or more test-types; Can the equipment of a kind of equipment of unit type or plurality of devices model be selected to be used as testing apparatus in the second list 32.
In one embodiment, as shown in Figure 8, sending module 62, comprising:
First sends submodule 81, is configured to the request of the acquisition test assignment information that reception server sends; In response to request, test assignment information is sent to server; Or
Second sends submodule 82, is configured to the transmission instruction receiving input; In response to transmission instruction, test assignment information is sent to server;
The method of testing for server that corresponding disclosure embodiment provides, disclosure embodiment provides a kind of proving installation, and for server, as shown in Figure 9, this device comprises:
Acquisition module 91, is configured to the test assignment information obtaining client transmission, at least comprises the installation kit of application program to be tested in test assignment information;
Distribution module 92, the installation kit being configured to the application program to be tested got by acquisition module 91 is distributed to testing apparatus and installs;
Control module 93, is configured to control testing apparatus and treats test application execution test assignment;
Collection module 94, is configured to collect the test result generated when testing apparatus performs test assignment;
Sending module 95, the test result be configured to collection module 94 is collected sends to client.
In above-mentioned proving installation, the test assignment information comprising the installation kit of application program to be tested is supplied to server by client, control testing apparatus by server by utilizing installation kit and application program to be tested is installed, and control testing apparatus execution test assignment, collect the test result generated when testing apparatus performs test assignment, and test result is sent to client.The developer of equipment to be tested is made to understand test result by client.Thus, developer is made not need to purchase a large amount of equipment, the moment is not needed to pay close attention to test process yet, only need to provide test assignment information to client, follow-uply just can complete by server, testing apparatus the test treating test application, obtain test result, save manpower and materials, greatly facilitate the test of application programs.
In one embodiment, can at least one or more equipment pre-configured, at least one or more equipment above-mentioned can unit type different, thus make testing apparatus can be the equipment of multiple different model, the test of application program to be tested on different model equipment can be realized.Developer can select the testing apparatus performing test assignment from this at least one or more equipment, now, also can comprise and treat the test-types of test application and the mark of testing apparatus in above-mentioned test assignment information.
Correspondingly, as shown in Figure 10, distribution module 92, comprising:
Determine submodule 1001, be configured to, at least one or more equipment be connected by internet between server, determine the marking matched target device with testing apparatus;
Distribution submodule 1002, the installation kit being configured to the application program to be tested got by acquisition module 91 is distributed to target device.Target device is testing apparatus.Thus achieve developer can according to self need select expect equipment perform test assignment.
In one embodiment, control module 93, comprising:
Control submodule, be configured to control test script corresponding to testing apparatus performance and testing type, test to treat test application.Test script corresponding to all test-types can be previously provided with in each testing apparatus, like this, when server instruction testing apparatus starts to perform test assignment, or when testing apparatus installs application program to be tested and get the test-types of the test assignment that current needs perform, just can bring into operation corresponding test script, to test self mounted application program to be tested.
In one embodiment, collection module 94 comprises:
First collects submodule, and be configured to collect test result according to default collection mode from testing apparatus, default collection mode comprises any one collection mode following or multiple collection mode:
After testing apparatus performs test assignment, obtain test and whether successfully test success or failure information; Or perform in testing apparatus in the process of test assignment, intercept the state sectional drawing of application program to be tested; Or obtain the memory information of testing apparatus when performing test assignment; Or obtain the central processing unit information of testing apparatus when performing test assignment.That is, test result can comprise any one information in above-mentioned test success or failure information, above-mentioned state sectional drawing, above-mentioned memory information, above-mentioned central processing unit information (above-mentioned memory information and central processing unit information belong to performance information) or multinomial information.Design sketch can with reference to figure 5.
In one embodiment, as shown in figure 11, collection module 94, comprising:
Second collects submodule 1101, being configured to when meeting pre-conditioned, collecting test result according to default collection mode from testing apparatus, pre-conditionedly comprise arrival Preset Time; Now do not need to monitor comparatively complicated collection opportunity, make collection process become easy.Or
3rd collects submodule 1102, and be configured to the trigger condition that often kind of collection mode is corresponding different separately, when meeting arbitrary trigger condition, the collection mode corresponding according to met trigger condition collects test result from testing apparatus.The trigger condition of often kind of collection mode can as the information of in test assignment information, client is supplied to by developer, and sending to server by client, this kind of embodiment makes developer can obtain corresponding test result according to the individual demand of self.Such as, the trigger condition " obtaining test and whether successfully test success or failure information " this collection mode can be completed; The trigger condition " performing in the process of test assignment, intercept the state sectional drawing of application program to be tested " this collection mode in testing apparatus can be arrive the sectional drawing moment of presetting; The trigger condition of " memory information of acquisition testing apparatus when performing test assignment " this collection mode can be performing the first default testing procedure or executing the first default testing procedure; The trigger condition of " the central processing unit information of acquisition testing apparatus when performing test assignment " this collection mode can be performing the second default testing procedure or executing the second default testing procedure.This kind of mode make developer can as required or system the trigger condition of collection mode can be set as required, more meet the actual demand of user, more flexibly.
In one embodiment, as shown in figure 12, acquisition module 91, comprising:
Request submodule 1201, is configured to send according to prefixed time interval the request obtaining test assignment information to client;
Receive submodule 1202, be configured to the test assignment information that reception client returns.
That is, server can periodically to client-requested test assignment information, and this kind of mode can be avoided missing unenforced test assignment.Certainly, also can receive the test assignment information that client is initiatively sent, such as, this test assignment information, when detecting that developer have input test assignment information, is sent to server by client; Or this test assignment information, when the test assignment information not sending to server being detected, is sent to server by client.
In one embodiment, be connected between client with server by internet, like this, developer can realize Long-distance Control test process.In addition, can be that cable data is connected between server with above-mentioned testing apparatus, also can be connected by internet; When being connected by internet between server with above-mentioned testing apparatus, testing apparatus can be the equipment that the people in society have, now, make it possible to the equipment need not purchasing various different model, as long as and with society on have different model equipment people reach cooperation agreement, just can complete test, thus take full advantage of social resources, save exploitation and the implementation cost of this measuring technology.
The preceding method that corresponding disclosure embodiment provides, the disclosure embodiment still provides a kind of test macro, and as shown in figure 13, this system comprises: client 11, server 12 and at least one equipment 13:
Client 11, for receiving the test assignment information treated test application and carry out testing, at least comprises the installation kit of application program to be tested in test assignment information; Test assignment information is sent to server 12;
Server 12, for obtaining the test assignment information that client 11 sends, the installation kit of application program to be tested is distributed to testing apparatus install, controls testing apparatus and treat test application execution test assignment, collect the test result generated when testing apparatus performs test assignment; Test result is sent to client; Wherein, testing apparatus comprises the one or more equipment at least one equipment 13;
Client 11, also for the test result that reception server 12 sends, and shows test results.
With an embodiment, client, interaction flow between server and testing apparatus are described below:
Client shows the first list and the second list, and the first list at least comprises a kind of test-types, and the second list at least comprises equipment mark separately; Obtain in the first list by the test-types selected and in the second list by the mark of equipment selected; Receive the installation kit of the application program to be tested of input; Be defined as by the test-types selected the test-types treating test application, the mark of testing apparatus will be defined as by the mark of equipment selected; Mark according to the installation kit of the application program to be tested of input, the test-types treating test application and testing apparatus generates test assignment information.
Server sends the request obtaining test assignment information to client according to prefixed time interval; Client end response, in this request, returns test assignment information to server.Or client initiatively sends to server in the test assignment information of aforementioned generation; Or client, when the test assignment information not sending to server being detected, sends to server by not sending to the test assignment information of server.
Server obtains the test assignment information that client sends; In at least one or more equipment be connected by internet between server, determine the marking matched target device with testing apparatus; The installation kit of application program to be tested is distributed to target device install; Control the test script that testing apparatus performance and testing type is corresponding, test to treat test application; Collect the test result generated when testing apparatus performs test assignment; Wherein, the test result generated when collecting testing apparatus execution test assignment can be embodied as any one embodiment in preceding method; Test result is sent to client.
The test result that client reception server returns, and show test results.
Disclosure embodiment provides a kind of test macro, this system provides a test platform for Application developer, as long as the test assignment information such as application program to be tested are supplied to server by the client in this system by developer, test assignment is distributed to each testing apparatus by server, each testing apparatus is treated test application and is performed corresponding test assignment, test result is also presented to developer by client by the test result that each testing apparatus of collects generates, thus developer does not need to purchase a large amount of equipment, the moment is not needed to pay close attention to test process yet, only need to provide test assignment information just automatically can be completed the test of application programs by server side to server, save manpower and materials, greatly facilitate the test of application programs.
Disclosure embodiment provides a kind of proving installation, for client, comprising:
Processor;
Be configured to the storer of storage of processor executable instruction;
Wherein, processor is configured to:
Receive the test assignment information treated test application and carry out testing, in test assignment information, at least comprise the installation kit of application program to be tested;
Test assignment information is sent to server;
The test result that reception server returns, test result is obtained from the testing apparatus collection performing application testing test assignment to be tested by server;
Show test results.
Disclosure embodiment provides a kind of proving installation, for server, comprising:
Processor;
Be configured to the storer of storage of processor executable instruction;
Wherein, processor is configured to:
Obtain the test assignment information that client sends, in test assignment information, at least comprise the installation kit of application program to be tested;
The installation kit of application program to be tested is distributed to testing apparatus install;
Control testing apparatus and treat test application execution test assignment;
Collect the test result generated when testing apparatus performs test assignment;
Test result is sent to client.
Figure 14 is a kind of block diagram for proving installation 800 according to an exemplary embodiment.Such as, device 800 can be a client, and this client can be application program, can be also mobile device, as mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 14, device 800 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing element 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Storer 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 806 is device 800 provide electric power.Electric power assembly 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 814 comprises one or more sensor, for providing the state estimation of various aspects for device 800.Such as, sensor module 814 can detect the opening/closing state of equipment 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right pick-up unit 800 of sensor module 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the temperature variation of device 800 orientation or acceleration/deceleration and device 800.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of method of testing, described method comprises:
Receive the test assignment information treated test application and carry out testing, in described test assignment information, at least comprise the installation kit of application program to be tested;
Described test assignment information is sent to server;
Receive the test result that described server returns, described test result is obtained from the testing apparatus collection performing described application testing test assignment to be tested by described server;
Show described test result.
Figure 15 is the block diagram of a kind of device 1900 for test macro according to an exemplary embodiment.Such as, device 1900 may be provided in a server.With reference to Figure 15, device 1900 comprises processing components 1922, and it comprises one or more processor further, and the memory resource representated by storer 1932, can such as, by the instruction of the execution of processing element 1922, application program for storing.The application program stored in storer 1932 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1922 is configured to perform instruction, to perform the above method.
Device 1900 can also comprise the power management that a power supply module 1926 is configured to actuating unit 1900, and a wired or wireless network interface 1950 is configured to device 1900 to be connected to network, and input and output (I/O) interface 1958.Device 1900 can operate the operating system based on being stored in storer 1932, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of server, make server can perform a kind of method of testing, described method comprises:
Obtain the test assignment information that client sends, in described test assignment information, at least comprise the installation kit of application program to be tested;
The installation kit of described application program to be tested is distributed to testing apparatus install;
Control described testing apparatus and treat test application execution test assignment;
Collect the test result generated when described testing apparatus performs described test assignment;
Described test result is sent to described client.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (25)

1. a method of testing, for client, is characterized in that, comprising:
Receive the test assignment information treated test application and carry out testing, in described test assignment information, at least comprise the installation kit of application program to be tested;
Described test assignment information is sent to server;
Receive the test result that described server returns, described test result is obtained from the testing apparatus collection performing described Application testing task to be tested by described server;
Show described test result.
2. the method for claim 1, is characterized in that, also comprises the mark of test-types to described application program to be tested and described testing apparatus in described test assignment information.
3. method as claimed in claim 2, it is characterized in that, the test assignment information that test application carries out testing is treated in described reception, comprising:
Show the first list and the second list, described first list at least comprises a kind of test-types, and described second list at least comprises equipment mark separately;
Obtain in described first list by the test-types selected and in described second list by the mark of equipment selected;
Receive the installation kit of the application program to be tested of input;
By the described test-types being defined as described application program to be tested by the test-types selected, the described mark by the equipment selected is defined as the mark of described testing apparatus;
According to the installation kit of the application program to be tested of described input, described test assignment information is generated to the test-types of described application program to be tested and the mark of described testing apparatus.
4. the method for claim 1, is characterized in that, described described test assignment information is sent to server, comprising:
Receive the request of the described test assignment information of acquisition that described server sends; In response to described request, described test assignment information is sent to described server; Or
Receive the transmission instruction of input; In response to described transmission instruction, described test assignment information is sent to described server.
5. a method of testing, for server, is characterized in that, comprising:
Obtain the test assignment information that client sends, in described test assignment information, at least comprise the installation kit of application program to be tested;
The installation kit of described application program to be tested is distributed to testing apparatus install;
Control described testing apparatus and treat test application execution test assignment;
Collect the test result generated when described testing apparatus performs described test assignment;
Described test result is sent to described client.
6. method as claimed in claim 5, is characterized in that, also comprises the mark of test-types to described application program to be tested and described testing apparatus in described test assignment information.
7. method as claimed in claim 6, is characterized in that,
The described installation kit by described application program to be tested is distributed to testing apparatus and installs, and comprising:
In at least one or more equipment be connected by internet between described server, determine the marking matched target device with described testing apparatus;
The installation kit of described application program to be tested is distributed to described target device.
8. method as claimed in claim 6, is characterized in that,
The described testing apparatus of described control is treated test application and is performed test assignment, comprising:
Control described testing apparatus and run the test script corresponding with described test-types, to test described application program to be tested.
9. the method as described in claim 5 or 6, is characterized in that, the test result generated when the described testing apparatus of described collection performs described test assignment, comprising:
Collect test result according to default collection mode from described testing apparatus, described default collection mode comprises any one collection mode following or multiple collection mode:
After described testing apparatus performs described test assignment, obtain test and whether successfully test success or failure information; Or
Perform in described testing apparatus in the process of described test assignment, intercept the state sectional drawing of described application program to be tested; Or
Obtain the memory information of described testing apparatus when performing described test assignment; Or
Obtain the central processing unit information of described testing apparatus when performing described test assignment.
10. method as claimed in claim 9, it is characterized in that, the test result generated when the described testing apparatus of described collection performs described test assignment, comprising:
When meeting pre-conditioned, collecting described test result according to described default collection mode from described testing apparatus, describedly pre-conditionedly comprising arrival Preset Time; Or
The trigger condition that often kind of collection mode is corresponding different separately, when meeting arbitrary trigger condition, the collection mode corresponding according to met trigger condition collects described test result from described testing apparatus.
11. methods as claimed in claim 5, is characterized in that, the test assignment information that described acquisition client sends, and comprising:
Send the request obtaining described test assignment information to described client according to prefixed time interval;
Receive the described test assignment information that described client returns.
12. 1 kinds of proving installations, for client, is characterized in that, comprising:
First receiver module, for receiving the test assignment information treated test application and carry out testing, at least comprises the installation kit of application program to be tested in described test assignment information;
Sending module, sends to server for the described test assignment information received by described first receiver module;
Second receiver module, for receiving the test result that described server returns, described test result is obtained from the equipment collection to be tested performing described application testing test assignment to be tested by described server;
Display module, for showing the described test result that described second receiver module receives.
13. devices as claimed in claim 12, is characterized in that, also comprise the mark of test-types to described application program to be tested and described testing apparatus in described test assignment information.
14. devices as claimed in claim 13, it is characterized in that, described first receiver module, comprising:
Display sub-module, for showing the first list and the second list, described first list at least comprises a kind of test-types, and described second list at least comprises equipment mark separately;
Obtain submodule, for obtain in described first list shown by described display sub-module by the test-types selected and in described second list by the mark of equipment selected;
Receive submodule, for receiving the installation kit of the application program to be tested of input;
Determine submodule, for the described test-types being defined as described application program to be tested by the test-types selected got by described acquisition submodule, the described mark by the equipment selected got by described acquisition submodule is defined as the mark of described testing apparatus;
Generate submodule, for the application program to be tested of described input that receives according to described reception submodule installation kit, determine that the test-types of the application program to be tested that submodule is determined and the mark of described testing apparatus generate described test assignment information to described.
15. devices as claimed in claim 12, it is characterized in that, described sending module, comprising:
First sends submodule, for receiving the request of the described test assignment information of acquisition that described server sends; In response to described request, described test assignment information is sent to described server; Or
Second sends submodule, for receiving the transmission instruction of input; In response to described transmission instruction, described test assignment information is sent to described server.
16. 1 kinds of proving installations, for server, is characterized in that, comprising:
Acquisition module, for obtaining the test assignment information that client sends, at least comprises the installation kit of application program to be tested in described test assignment information;
Distribution module, the installation kit for the application program described to be tested got by described acquisition module is distributed to testing apparatus and installs;
Control module, treats test application execution test assignment for controlling described testing apparatus;
Collection module, for collecting the test result generated when described testing apparatus performs described test assignment;
Sending module, sends to described client for the described test result of being collected by described collection module.
17. devices as claimed in claim 16, is characterized in that, also comprise the mark of test-types to described application program to be tested and described testing apparatus in described test assignment information.
18. devices as claimed in claim 17, it is characterized in that, described distribution module, comprising:
Determine submodule, at least one or more equipment of being connected by internet between described server, determine the marking matched target device with described testing apparatus;
Distribution submodule, the installation kit for the application program described to be tested got by described acquisition module is distributed to described target device.
19. devices as claimed in claim 17, it is characterized in that, described control module, comprising:
Controlling submodule, running the test script corresponding with described test-types, to test described application program to be tested for controlling described testing apparatus.
20. devices as described in claim 16 or 17, it is characterized in that, described collection module, comprising:
First collects submodule, and for collecting test result according to default collection mode from described testing apparatus, described default collection mode comprises any one collection mode following or multiple collection mode:
After described testing apparatus performs described test assignment, obtain test and whether successfully test success or failure information; Or
Perform in described testing apparatus in the process of described test assignment, intercept the state sectional drawing of described application program to be tested; Or
Obtain the memory information of described testing apparatus when performing described test assignment; Or
Obtain the central processing unit information of described testing apparatus when performing described test assignment.
21. devices as claimed in claim 20, it is characterized in that, described collection module, comprising:
Second collects submodule, for when meeting pre-conditioned, collects described test result according to described default collection mode from described testing apparatus, describedly pre-conditionedly comprises arrival Preset Time; Or
3rd collects submodule, and for the trigger condition that often kind of collection mode is corresponding different separately, when meeting arbitrary trigger condition, the collection mode corresponding according to met trigger condition collects described test result from described testing apparatus.
22. devices as claimed in claim 16, it is characterized in that, described acquisition module, comprising:
Request submodule, for sending the request obtaining described test assignment information to described client according to prefixed time interval;
Receive submodule, for receiving the described test assignment information that described client returns.
23. 1 kinds of test macros, is characterized in that, comprise client, server and at least one equipment:
Described client, for receiving the test assignment information treated test application and carry out testing, at least comprises the installation kit of application program to be tested in described test assignment information; Described test assignment information is sent to described server;
Described server, for obtaining the described test assignment information that described client sends, the installation kit of described application program to be tested is distributed to testing apparatus install, control described testing apparatus and treat test application execution test assignment, collect the test result generated when described testing apparatus performs described test assignment; Described test result is sent to described client; Wherein, described testing apparatus comprises the one or more equipment at least one equipment described;
Described client, also for receiving the described test result that described server sends, and shows described test result.
24. 1 kinds of proving installations, for client, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive the test assignment information treated test application and carry out testing, in described test assignment information, at least comprise the installation kit of application program to be tested;
Described test assignment information is sent to server;
Receive the test result that described server returns, described test result is obtained from the testing apparatus collection performing described application testing test assignment to be tested by described server;
Show described test result.
25. 1 kinds of proving installations, for server, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the test assignment information that client sends, in described test assignment information, at least comprise the installation kit of application program to be tested;
The installation kit of described application program to be tested is distributed to testing apparatus install;
Control described testing apparatus and treat test application execution test assignment;
Collect the test result generated when described testing apparatus performs described test assignment;
Described test result is sent to described client.
CN201510792597.2A 2015-11-17 2015-11-17 Testing method, device and system Pending CN105302727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510792597.2A CN105302727A (en) 2015-11-17 2015-11-17 Testing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510792597.2A CN105302727A (en) 2015-11-17 2015-11-17 Testing method, device and system

Publications (1)

Publication Number Publication Date
CN105302727A true CN105302727A (en) 2016-02-03

Family

ID=55200016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510792597.2A Pending CN105302727A (en) 2015-11-17 2015-11-17 Testing method, device and system

Country Status (1)

Country Link
CN (1) CN105302727A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577453A (en) * 2016-02-24 2016-05-11 北京奇虎科技有限公司 System and method for realizing application test of mobile terminals
CN105868015A (en) * 2016-04-19 2016-08-17 广州爱九游信息技术有限公司 Method and g server for allocating tasks
CN106406279A (en) * 2016-09-28 2017-02-15 北京小米移动软件有限公司 Equipment testing method, apparatus and electronic device
CN106484614A (en) * 2016-09-29 2017-03-08 厦门美图之家科技有限公司 A kind of method of verification picture processing effect, device and mobile terminal
CN107154976A (en) * 2017-05-10 2017-09-12 北京微影时代科技有限公司 Website testing method, device and system
CN107179919A (en) * 2016-03-09 2017-09-19 广州优视网络科技有限公司 Source code management system, application management method and device
CN107273299A (en) * 2017-07-07 2017-10-20 广东中星电子有限公司 Software testing device, software test platform and method
CN107301760A (en) * 2016-04-15 2017-10-27 霍尼韦尔国际公司 Improved fire detector test equipment and the method for it
CN107678965A (en) * 2017-09-30 2018-02-09 千寻位置网络有限公司 It is automatically integrating method of testing and system, service terminal, memory
CN107832206A (en) * 2017-10-16 2018-03-23 深圳市牛鼎丰科技有限公司 Method of testing, device, computer-readable recording medium and computer equipment
CN108415820A (en) * 2017-02-09 2018-08-17 腾讯科技(深圳)有限公司 The test method and device of application installation package
CN108804328A (en) * 2018-06-12 2018-11-13 浪潮软件集团有限公司 Android application compatibility test method
CN108920376A (en) * 2018-07-13 2018-11-30 北京京东金融科技控股有限公司 Test method, device and the medium of application program
CN109062779A (en) * 2018-06-07 2018-12-21 优视科技有限公司 Test control method, main control device, controlled device and test macro
CN109302522A (en) * 2018-09-11 2019-02-01 北京京东金融科技控股有限公司 Test method, device and computer system and medium
CN109560986A (en) * 2018-11-23 2019-04-02 赛尔通信服务技术股份有限公司 Test method, device and the test macro of things-internet gateway equipment
CN110048908A (en) * 2019-04-15 2019-07-23 网易(杭州)网络有限公司 Instruction Network Test System Platform, network test method and device
CN110213098A (en) * 2019-05-31 2019-09-06 北京长城华冠汽车技术开发有限公司 Terminal models automatic warning system and alarm method for page adaptation test
CN110837476A (en) * 2019-11-14 2020-02-25 珠海西山居移动游戏科技有限公司 Application program testing method and device
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
CN113794602A (en) * 2021-08-20 2021-12-14 海南视联大健康智慧医疗科技有限公司 Equipment testing method and device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120210114A1 (en) * 2011-02-15 2012-08-16 Hon Hai Precision Industry Co., Ltd. Log file processing system and method
CN102981951A (en) * 2012-11-01 2013-03-20 珠海金山网络游戏科技有限公司 Platform and method of cloud test development
CN103678132A (en) * 2013-12-18 2014-03-26 中国科学院深圳先进技术研究院 Application software cloud testing system
CN104679659A (en) * 2015-03-24 2015-06-03 小米科技有限责任公司 Testing method and testing device of application program as well as electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120210114A1 (en) * 2011-02-15 2012-08-16 Hon Hai Precision Industry Co., Ltd. Log file processing system and method
CN102981951A (en) * 2012-11-01 2013-03-20 珠海金山网络游戏科技有限公司 Platform and method of cloud test development
CN103678132A (en) * 2013-12-18 2014-03-26 中国科学院深圳先进技术研究院 Application software cloud testing system
CN104679659A (en) * 2015-03-24 2015-06-03 小米科技有限责任公司 Testing method and testing device of application program as well as electronic equipment

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577453A (en) * 2016-02-24 2016-05-11 北京奇虎科技有限公司 System and method for realizing application test of mobile terminals
CN107179919A (en) * 2016-03-09 2017-09-19 广州优视网络科技有限公司 Source code management system, application management method and device
CN107301760A (en) * 2016-04-15 2017-10-27 霍尼韦尔国际公司 Improved fire detector test equipment and the method for it
CN105868015A (en) * 2016-04-19 2016-08-17 广州爱九游信息技术有限公司 Method and g server for allocating tasks
CN105868015B (en) * 2016-04-19 2019-03-15 广州爱九游信息技术有限公司 A kind of method for allocating tasks and distribution server
CN106406279A (en) * 2016-09-28 2017-02-15 北京小米移动软件有限公司 Equipment testing method, apparatus and electronic device
CN106484614A (en) * 2016-09-29 2017-03-08 厦门美图之家科技有限公司 A kind of method of verification picture processing effect, device and mobile terminal
CN106484614B (en) * 2016-09-29 2019-01-22 厦门美图之家科技有限公司 A kind of method, device and mobile terminal for checking picture treatment effect
CN108415820A (en) * 2017-02-09 2018-08-17 腾讯科技(深圳)有限公司 The test method and device of application installation package
CN108415820B (en) * 2017-02-09 2021-05-14 腾讯科技(深圳)有限公司 Test method and device of application installation package
CN107154976A (en) * 2017-05-10 2017-09-12 北京微影时代科技有限公司 Website testing method, device and system
CN107273299A (en) * 2017-07-07 2017-10-20 广东中星电子有限公司 Software testing device, software test platform and method
CN107678965A (en) * 2017-09-30 2018-02-09 千寻位置网络有限公司 It is automatically integrating method of testing and system, service terminal, memory
CN107832206A (en) * 2017-10-16 2018-03-23 深圳市牛鼎丰科技有限公司 Method of testing, device, computer-readable recording medium and computer equipment
CN109062779A (en) * 2018-06-07 2018-12-21 优视科技有限公司 Test control method, main control device, controlled device and test macro
CN108804328A (en) * 2018-06-12 2018-11-13 浪潮软件集团有限公司 Android application compatibility test method
CN108920376A (en) * 2018-07-13 2018-11-30 北京京东金融科技控股有限公司 Test method, device and the medium of application program
CN109302522B (en) * 2018-09-11 2020-09-01 京东数字科技控股有限公司 Test method, test device, computer system, and computer medium
CN109302522A (en) * 2018-09-11 2019-02-01 北京京东金融科技控股有限公司 Test method, device and computer system and medium
CN109560986A (en) * 2018-11-23 2019-04-02 赛尔通信服务技术股份有限公司 Test method, device and the test macro of things-internet gateway equipment
CN110048908A (en) * 2019-04-15 2019-07-23 网易(杭州)网络有限公司 Instruction Network Test System Platform, network test method and device
CN110048908B (en) * 2019-04-15 2021-04-27 网易(杭州)网络有限公司 Network test platform, network test method and device
CN110213098A (en) * 2019-05-31 2019-09-06 北京长城华冠汽车技术开发有限公司 Terminal models automatic warning system and alarm method for page adaptation test
CN110837476A (en) * 2019-11-14 2020-02-25 珠海西山居移动游戏科技有限公司 Application program testing method and device
CN113342682A (en) * 2021-06-29 2021-09-03 上海闻泰信息技术有限公司 System compatibility testing method and device
CN113794602A (en) * 2021-08-20 2021-12-14 海南视联大健康智慧医疗科技有限公司 Equipment testing method and device, terminal equipment and storage medium
CN113688057A (en) * 2021-10-21 2021-11-23 统信软件技术有限公司 Method and system for testing performance of computing equipment, computing equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105302727A (en) Testing method, device and system
CN104936304A (en) Intelligent equipment binding method, intelligent equipment, and server
CN105278986A (en) Control method and apparatus of electronic device
CN104460365A (en) Equipment control method and device
CN105095081A (en) Application program function testing method and device
CN104866409A (en) Method and apparatus for monitoring memory leakage
CN104123341A (en) Method and device for downloading file and route device
CN104468329A (en) Member adding method and device based on instant messaging
CN104933170A (en) Information exhibition method and device
CN104836924A (en) Number marking method and device
CN105488348A (en) Method, device and system for providing health data
CN105635254A (en) Method and device for downloading multimedia resource
CN104915290A (en) Application testing method and device
CN103970576A (en) Installation information displaying method, obtaining method and device
CN105372999A (en) Data processing method and device
CN106096009A (en) Method for generating message and device
CN106375096A (en) Short message verification method and device
CN104837178A (en) Network accessing method and device
CN104063654A (en) Monitoring method and device for application program
CN105183493A (en) Display method and device of network information
CN105094900A (en) Method and apparatus for downloading control program
CN105094830A (en) Method and device for executing target functions
CN105095372A (en) Method and apparatus for obtaining search result
CN105554087A (en) Information setting method and device
CN104639609A (en) Method and device for sharing network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160203