CN105095072B - Application testing method and device and terminal - Google Patents
Application testing method and device and terminal Download PDFInfo
- Publication number
- CN105095072B CN105095072B CN201510381966.9A CN201510381966A CN105095072B CN 105095072 B CN105095072 B CN 105095072B CN 201510381966 A CN201510381966 A CN 201510381966A CN 105095072 B CN105095072 B CN 105095072B
- Authority
- CN
- China
- Prior art keywords
- application
- tested
- run
- parameter information
- time scenario
- 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.)
- Active
Links
Abstract
The embodiment of the invention discloses an application testing method, an application testing device and a terminal. Wherein, the method comprises the following steps: starting an application to be tested in each preset operation scene in the operation scene; acquiring the starting time length for finishing the application to be tested in the running scene; correspondingly recording the operation scene and starting time length for finishing the application to be tested in the operation scene. By implementing the embodiment of the invention, the starting time of the application to be tested can be tested under a plurality of operation scenes, and the starting performance of the application can be more accurately and comprehensively determined.
Description
Technical field
The present invention relates to technical field of measurement and test, and in particular to a kind of application testing method, device and terminal.
Background technology
At present, the work, life that various applications are people can be installed in the terminal devices such as smart mobile phone, tablet personal computer
And amusement offers convenience.In actual applications, the starting duration of these applications largely affects the operating experience of user,
Therefore, it is necessary to test the starting duration of application before application is issued, generally may be used in the starting duration test of application
So that by checking that starting log determines the starting duration of application, then basis repeatedly checks that the average value of the starting duration of acquisition is true
Surely the startability applied.However, when the starting log applied in test process only have recorded using the startup started every time
It is long, without influence of the external environment condition to starting duration when considering startup every time, so as to cause the starting duration repeatedly obtained
It accurately can not comprehensively reflect the startability of application.
The content of the invention
, being capable of more accurate comprehensive determination the embodiment of the invention discloses a kind of application testing method, device and terminal
The startability of application.
The embodiment of the invention discloses a kind of application testing method, including:
For each Run-time scenario in multiple Run-time scenarios set in advance, start under the Run-time scenario to be tested
Using;
Obtain the starting duration of the application to be tested described in start completion under the Run-time scenario;
Run-time scenario described in corresponding record and under the Run-time scenario application to be tested described in start completion startup
Duration.
Wherein, methods described also includes:
Calling applies starting duration test analysis algorithm, according to the Run-time scenario of corresponding record and in the operation
The starting duration of application to be tested described in start completion under scene, export the starting duration tendency chart of the multiple Run-time scenario.
Wherein, the multiple Run-time scenario include terminal response main interface instruction after, terminal restarting after and terminal
After the enabled instruction that background application is responded in running, wherein:
Start application to be tested after the instruction of terminal response main interface, including:
By calling the first test function testHome () to start the application to be tested;
Start the application to be tested after terminal restarting, including:
By calling the second test function testReboot () to start the application to be tested;
Start the application to be tested after the enabled instruction of background application is responded during terminal operating, including:
By calling the 3rd test function testBack () to start the application to be tested.
The embodiment of the invention also discloses another application testing method, including:
Parameter information is put for often assembling in multigroup configuration parameter information set in advance, in the configuration parameter information
It is lower to start application to be tested;
Obtain the starting duration of the application to be tested described in start completion under the configuration parameter information;
Configuration parameter information described in corresponding record and under the configuration parameter information described in start completion it is to be tested should
Starting duration.
Wherein, methods described also includes:
By call apply starting duration test analysis algorithm, according to the configuration parameter information of corresponding record and
The starting duration of application to be tested described in start completion, exports the startup of different configuration parameter information under the configuration parameter information
Duration tendency chart.
Wherein, it is described to start application to be tested under the configuration parameter information, including:
For each Run-time scenario in multiple Run-time scenarios set in advance, in the configuration parameter information and described
Start application to be tested under Run-time scenario;
The starting duration of acquisition application to be tested described in start completion under the configuration parameter information, including:
For each Run-time scenario in the multiple Run-time scenario, obtain in the configuration parameter information and the operation
The starting duration of application to be tested described in start completion under scene;
According to the default starting duration weight of each Run-time scenario in the multiple Run-time scenario, it is determined that in the configuration ginseng
The starting duration of application to be tested described in start completion under number information;The default starting duration weight is determination set in advance
Under the configuration parameter information described in start completion during the starting duration of application to be tested, start completion institute under each Run-time scenario
State the proportionality coefficient of the starting duration of application to be tested.
Wherein, each Run-time scenario being directed in multiple Run-time scenarios set in advance, believes in the configuration parameter
After starting application to be tested under breath and the Run-time scenario, methods described also includes:
For each Run-time scenario in the multiple Run-time scenario, configuration parameter information, the operation described in corresponding record
Scene and under the configuration parameter information and the Run-time scenario application to be tested described in start completion starting duration.
Wherein, the multiple Run-time scenario include terminal response main interface instruction after, terminal restarting after and terminal
After the enabled instruction that background application is responded in running, wherein:
Start application to be tested after the instruction of terminal response main interface, including:
By calling the first test function testHome () to start the application to be tested;
Start the application to be tested after terminal restarting, including:
By calling the second test function testReboot () to start the application to be tested;
Start the application to be tested after the enabled instruction of background application is responded during terminal operating, including:
By calling the 3rd test function testBack () to start the application to be tested.
Wherein, the configuration parameter information includes the current residual free space of internal memory in the terminal.
The embodiment of the invention also discloses one kind to apply test device, including:
First starting module, for for each Run-time scenario in multiple Run-time scenarios set in advance, in the fortune
Start application to be tested under row scene;
First acquisition module, for obtaining under the Run-time scenario described in start completion during the startup of application to be tested
It is long;
First logging modle, for Run-time scenario described in corresponding record and under the Run-time scenario described in start completion
The starting duration of application to be tested.
Wherein, described device also includes:
First output module, starting duration test analysis algorithm is applied for calling, according to the operation of corresponding record
Scene and under the Run-time scenario application to be tested described in start completion starting duration, export the multiple Run-time scenario
Starting duration tendency chart.
Wherein, the multiple Run-time scenario include terminal response main interface instruction after, terminal restarting after and terminal
After the enabled instruction that background application is responded in running, wherein:
First starting module starts the mode of application to be tested after the instruction of terminal response main interface, specifically by
The first test function testHome () is called to start the application to be tested;
First starting module starts the mode of the application to be tested after terminal restarting, specifically by tune
Start the application to be tested with the second test function testReboot ();
First starting module respond during the terminal operating start after the enabled instruction of background application it is described to be measured
The mode of application is tried, starts the application to be tested specifically by the 3rd test function testBack () is called.
The embodiment of the invention also discloses another kind to apply test device, including:
Second starting module, for putting parameter information for often assembling in multigroup configuration parameter information set in advance,
Start application to be tested under the configuration parameter information;
Second acquisition module, for obtaining the startup of the application to be tested described in start completion under the configuration parameter information
Duration;
Second logging modle, start for configuration parameter information described in corresponding record and under the configuration parameter information
Complete the starting duration of the application to be tested.
Wherein, described device also includes:
Second output module, for applying starting duration test analysis algorithm by calling, according to corresponding record
Configuration parameter information and under the configuration parameter information application to be tested described in start completion starting duration, output is different
The starting duration tendency chart of configuration parameter information.
Wherein, second starting module, specifically for for each operation in multiple Run-time scenarios set in advance
Scene, start application to be tested under the configuration parameter information and the Run-time scenario;
Second acquisition module, including:
Acquiring unit, for for each Run-time scenario in the multiple Run-time scenario, obtaining and believing in the configuration parameter
The starting duration of application to be tested described in start completion under breath and the Run-time scenario;
Determining unit, for the default starting duration weight according to each Run-time scenario in the multiple Run-time scenario, really
It is scheduled on the starting duration of application to be tested described in start completion under the configuration parameter information;The default starting duration weight is
Under the determination configuration parameter information set in advance field is each run described in start completion during the starting duration of application to be tested
The proportionality coefficient of the starting duration of application to be tested described in start completion under scape.
Wherein, described device also includes:
3rd logging modle, it is each in multiple Run-time scenarios set in advance for being directed in second starting module
Run-time scenario, after starting application to be tested under the configuration parameter information and the Run-time scenario, for the multiple
Each Run-time scenario in Run-time scenario, configuration parameter information described in corresponding record, the Run-time scenario and in the configuration ginseng
The starting duration of application to be tested described in start completion under number information and the Run-time scenario.
Wherein, the multiple Run-time scenario include terminal response main interface instruction after, terminal restarting after and terminal
After the enabled instruction that background application is responded in running, wherein:
Second starting module starts the mode of application to be tested after the instruction of terminal response main interface, specifically by
The first test function testHome () is called to start the application to be tested;
Second starting module starts the mode of the application to be tested after terminal restarting, specifically by tune
Start the application to be tested with the second test function testReboot ();
Second starting module respond during the terminal operating start after the enabled instruction of background application it is described to be measured
The mode of application is tried, starts the application to be tested specifically by the 3rd test function testBack () is called.
Wherein, the configuration parameter information includes the current residual free space of internal memory in the terminal.
The embodiment of the invention also discloses a kind of terminal, it is characterised in that including above-mentioned application test device.
The embodiment of the present invention is directed to each Run-time scenario in multiple Run-time scenarios set in advance, under the Run-time scenario
Start application to be tested;Obtain the starting duration of the start completion application to be tested under the Run-time scenario;Corresponding record runs field
Scape and under Run-time scenario start completion application to be tested starting duration.It can be seen that obtained every time with simple in the prior art
Start the starting duration of application to be tested, and can not consider or external environment condition during controllable initiating application to be tested is compared, this hair
Bright embodiment can test the starting duration of application to be tested under multiple Run-time scenarios, so as to more it is accurate comprehensively really
Surely the startability applied.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of application testing method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another application testing method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another application testing method disclosed in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another application testing method disclosed in the embodiment of the present invention;
Fig. 5 is a kind of structural representation using test device disclosed in the embodiment of the present invention;
Fig. 6 is another structural representation for applying test device disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation that another applies test device disclosed in the embodiment of the present invention;
Fig. 8 is the structural representation that another applies test device disclosed in the embodiment of the present invention;
Fig. 9 is a kind of structural representation of terminal disclosed in the embodiment of the present invention;
Figure 10 is the structural representation of another terminal disclosed in the embodiment of the present invention.
Embodiment
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 clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of application testing method, device and terminal, it is possible to increase using starting duration
Testing precision.It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of application testing method disclosed in the embodiment of the present invention.Wherein, should
It is may operate in using test mode in the terminals such as notebook, mobile phone, tablet personal computer or wearable device, as shown in figure 1, should
Application testing method may comprise steps of.
S101, for each Run-time scenario in multiple Run-time scenarios set in advance, start under the Run-time scenario and treat
Test application;
S102, the starting duration for obtaining the start completion application to be tested under the Run-time scenario;
S103, corresponding record Run-time scenario and under the Run-time scenario during startup of the start completion application to be tested
It is long.
In the embodiment of the present invention, multiple Run-time scenarios can include terminal response main interface instruction after, terminal restarting
After the enabled instruction for responding background application afterwards and during terminal operating, wherein:
Start the mode of application to be tested after the instruction of terminal response main interface, can be by calling the first test function
TestHome () starts application to be tested;
Start the mode of application to be tested after terminal restarting, can be by calling the second test function
TestReboot () starts application to be tested;
The mode for starting application to be tested after the enabled instruction of background application is responded during the terminal operating, can be logical
Cross and call the 3rd test function testBack () to start application to be tested.
In the embodiment of the present invention, step S102 can use order adb shell am start-w-n to obtain in the operation
The starting duration of the start completion application to be tested under scene.
In the embodiment of the present invention, step S103 corresponding records Run-time scenario and under the Run-time scenario start completion this treat
The starting duration of application is tested, for the follow-up analysis to be tested using startability.
In the method described by Fig. 1, for each Run-time scenario in multiple Run-time scenarios set in advance, in the fortune
Start application to be tested under row scene;Obtain the starting duration of the start completion application to be tested under the Run-time scenario;Corresponding note
Record Run-time scenario and under Run-time scenario start completion application to be tested starting duration.It can be seen that with it is simple in the prior art
Obtain and start the starting duration of application to be tested every time, and can not consider or external environment condition phase during controllable initiating application to be tested
Than the embodiment of the present invention can test the starting duration of application to be tested under multiple Run-time scenarios, so as to more accurate
The comprehensive startability for determining application.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of another application testing method disclosed in the embodiment of the present invention, such as Fig. 2
Shown, the application testing method may comprise steps of:
S201, for each Run-time scenario in multiple Run-time scenarios set in advance, start under the Run-time scenario and treat
Test application;
S202, the starting duration for obtaining the start completion application to be tested under the Run-time scenario;
S203, the corresponding record Run-time scenario and under the Run-time scenario during startup of start completion application to be tested
It is long;
S204, calling apply starting duration test analysis algorithm, according to the Run-time scenario of corresponding record and in operation field
The starting duration of start completion application to be tested under scape, export the starting duration tendency chart of multiple Run-time scenarios.
The embodiment of the present invention is directed to each Run-time scenario in multiple Run-time scenarios set in advance, performs step S201 extremely
S203, can obtain each Run-time scenario and under the Run-time scenario start completion application to be tested starting duration, step
S204 according to different Run-time scenarios and its corresponding starting duration, can export the starting duration tendency chart of multiple Run-time scenarios,
And the size influenceed according to different Run-time scenarios on starting duration, the startability for determining application to be tested can be integrated, so as to
More comprehensive and accurate reference value is provided for the exploitation improvement of application to be tested.
Referring to Fig. 3, Fig. 3 is the schematic flow sheet of another application testing method disclosed in the embodiment of the present invention, such as Fig. 3
Shown, the application testing method may comprise steps of:
S301, for often assembling in multigroup configuration parameter information set in advance parameter information is put, believed in configuration parameter
Breath is lower to start application to be tested;
S302, the starting duration for obtaining the start completion application to be tested under configuration parameter information;
S303, corresponding record configuration parameter information and under configuration parameter information start completion application to be tested startup
Duration.
In the embodiment of the present invention, configuration parameter information can include the current remaining available memory space of terminal, operation system
System, chip processing speed etc..
In the embodiment of the present invention, multigroup configuration parameter information can be that initial configuration parameter information is updated with default value
Obtain, for example, obtaining initial configuration parameter information, under the initial configuration parameter information, perform step S301 extremely
After S303;The initial configuration parameter information is updated with default value, then performs step S301 to S303 again, until with default
Untill the parameter value that numerical value is updated in the configuration parameter information after the initial configuration parameter information is less than predetermined threshold value, so as to
To obtain multigroup configuration parameter information and its corresponding starting duration.Wherein, default value is smaller, can perform step S301 extremely
S303 number is more, and the configuration parameter information of acquisition and its corresponding starting duration are more, the application to be tested of acquisition
Startability analysis result is more accurate, comprehensive.
Application testing method described by Fig. 3 can be directed to often assembling in multigroup configuration parameter information set in advance and put
Parameter information, assemble to put and start application to be tested under parameter information at this;It is to be measured to obtain the start completion under configuration parameter information
Try the starting duration of application;Corresponding record this assemble and put parameter information and start completion is to be measured in the case where this assembles and puts parameter information
Try the starting duration of application.It can be seen that start the starting duration of application to be tested every time with simple acquisition in the prior art, and can not
Consider or the configuration parameter information of terminal during controllable initiating application to be tested is compared, the embodiment of the present invention can match somebody with somebody in different
The starting duration that application to be tested is tested under parameter information is put, so as to the more accurate comprehensive startability for determining application
Energy.
Referring to Fig. 4, Fig. 4 is the schematic flow sheet of another application testing method disclosed in the embodiment of the present invention, such as Fig. 4
Shown, the application testing method may comprise steps of:
S401, for often assembling in multigroup configuration parameter information set in advance parameter information is put, assemble at this and put ginseng
Under each Run-time scenario in number information and multiple Run-time scenarios set in advance, application to be tested is respectively started;
In the embodiment of the present invention, multiple Run-time scenarios can include terminal response main interface instruction after, terminal restarting
After the enabled instruction for responding background application afterwards and during terminal operating, wherein:Start after the instruction of terminal response main interface
The mode of application to be tested, start application to be tested specifically by the first test function testHome () is called;In terminal weight
Start the mode of application to be tested after new startup, it is to be measured specifically by calling the second test function testReboot () to start
Examination application;The mode for starting application to be tested after the enabled instruction of background application is responded during the terminal operating, it is specially logical
Cross and call the 3rd test function testBack () to start application to be tested.
S402, for each Run-time scenario in multiple Run-time scenarios, obtain and assemble at this and put parameter information and each fortune
The starting duration of start completion application to be tested under row scene;
S403, for each Run-time scenario in multiple Run-time scenarios, corresponding record this assemble and put parameter information, the operation field
Scape and in the case where this assembles and puts parameter information and the Run-time scenario start completion application to be tested starting duration;
For example, multigroup configuration parameter information is respectively A1, B1, C1, D1, multiple Run-time scenarios are respectively A2, B2, C2, D2;
This of then corresponding record assembles and puts parameter information, the Run-time scenario and assemble and put under parameter information and the Run-time scenario at this
The starting duration of start completion application to be tested can be T{A1,A2},T{A1,B2},T{A1,C2},T{A1,D2};T{B1,A2},T{B1,B2},
T{B1,C2},T{B1,D2};T{C1,A2},T{C1,B2},T{C1,C2},T{C1,D2};T{D1,A2},T{D1,B2},T{D1,C2},T{D1,D2}。
S404, the default starting duration weight according to each Run-time scenario in multiple Run-time scenarios, it is determined that assembling and putting at this
The starting duration of start completion application to be tested under parameter information;
In the embodiment of the present invention, starting duration weight is preset as start completion under determination configuration parameter information set in advance
During the starting duration of application to be tested, the proportionality coefficient of the starting duration of start completion application to be tested under each Run-time scenario.
For example, the weight that multiple Run-time scenarios are respectively A2, B2, C2, D2 is respectively W, X, Y, Z, it is determined that A1, which is assembled, to be put
The starting duration of start completion application to be tested is T under parameter informationA1=W*T{A1,A2}+X*T{A1,B2}+Y*T{A1,C2}+Z*
T{A1,D2}.Alternatively it is also possible to according to the weight of multigroup configuration parameter information, determining under Run-time scenario that start completion is to be tested should
Starting duration.
S405, by calling apply starting duration test analysis algorithm, according to the configuration parameter information of corresponding record and
The starting duration of start completion application to be tested in the case where this assembles and puts parameter information, when exporting the startup of different configuration parameter information
Long tendency chart.
In the embodiment of the present invention, starting duration test analysis algorithm is applied by calling, is joined according to the configuration of corresponding record
Number information and in the case where this assembles and puts parameter information start completion application to be tested starting duration, export different configuration parameters letter
Outside the starting duration tendency chart of breath, it can also assemble according to corresponding record this and put parameter information, the Run-time scenario and at this
Assemble the starting duration for putting start completion application to be tested under parameter information and the Run-time scenario, export different Run-time scenarios,
Difference assembles the starting duration tendency chart put under parameter information.It should be noted that it is not limited in the embodiment of the present invention in output
State two kinds of starting duration tendency charts.Starting duration tendency chart more intuitively can apply starting duration to user's displaying is to be tested
Correlation with starting environment.
Application testing method described by Fig. 4 can be directed to often assembling in multigroup configuration parameter information set in advance and put
Parameter information, in the case where this assembles each Run-time scenario put in parameter information and multiple Run-time scenarios set in advance, respectively
Start application to be tested;For each Run-time scenario in multiple Run-time scenarios, obtain and assemble at this and put parameter information and each
The starting duration of start completion application to be tested under Run-time scenario;For each Run-time scenario in multiple Run-time scenarios, corresponding note
Record this and assemble and put parameter information, the Run-time scenario and start completion is treated in the case where this assembles and puts parameter information and the Run-time scenario
Test the starting duration of application;According to the default starting duration weight of each Run-time scenario in multiple Run-time scenarios, it is determined that at this
Assemble the starting duration for putting the application to be tested of start completion under parameter information;Calculated by calling using starting duration test analysis
Method, the startup of start completion application to be tested according to the configuration parameter information of corresponding record and in the case where this assembles and puts parameter information
Duration, export the starting duration tendency chart of different configuration parameter information, it is seen then that the embodiment of the present invention can assemble in difference and put ginseng
The starting duration of application to be tested is tested under number information and different Run-time scenarios respectively, so as to more it is accurate comprehensively really
The startability of fixed application to be tested.
Referring to Fig. 5, Fig. 5 is a kind of structural representation using test device disclosed in the embodiment of the present invention, the application
Test device can be arranged in the terminals such as notebook, mobile phone, tablet personal computer or wearable device, as shown in figure 5, the application
Test device can include with lower module:
First starting module 510, for for each Run-time scenario in multiple Run-time scenarios set in advance, running
Start application to be tested under scene;
First acquisition module 520, for obtaining the start completion of the first starting module 510 application to be tested under Run-time scenario
Starting duration;
First logging modle 530, for the Run-time scenario of the acquisition of the first acquisition module of corresponding record 520 and in operation field
The starting duration of start completion application to be tested under scape.
In the embodiment of the present invention, multiple Run-time scenarios can include terminal response main interface instruction after, terminal restarting
After the enabled instruction for responding background application afterwards and during terminal operating, wherein, the first starting module is on the main boundary of terminal response
Start the mode of application to be tested after the instruction of face, it is to be tested specifically by calling the first test function testHome () to start
Using;First starting module starts the mode of application to be tested after terminal restarting, is tested specifically by calling second
Function testReboot () starts application to be tested;First starting module responds opening for background application during terminal operating
Start the mode of application to be tested after dynamic instruction, it is to be tested specifically by calling the 3rd test function testBack () to start
Using.
In the embodiment of the present invention, the first acquisition module 520 can use order adb shell am start-w-n to obtain
The starting duration of the start completion application to be tested under the Run-time scenario.
Also referring to Fig. 6, Fig. 6 is another structural representation for applying test device disclosed in the embodiment of the present invention,
Wherein, shown in Fig. 6 be to optimize acquisition using test device shown in Fig. 5 using test device, with shown in Fig. 5 should
To be compared with test device, the application test device shown in Fig. 6 can also include the first output module 540, wherein:
First output module 540, starting duration test analysis algorithm is applied for calling, according to the fortune of corresponding record
Row scene and under the Run-time scenario application to be tested described in start completion starting duration, export the multiple operation field
The starting duration tendency chart of scape.
In the embodiment of the present invention, it can be set in advance using starting duration test analysis algorithm, for example, setting Run-time scenario
The test analysis algorithm of influence during change to the starting duration of application.
In the embodiment of the present invention, the first output module 540 exports the starting duration tendency chart of multiple Run-time scenarios, and according to
The size that different Run-time scenarios influence on starting duration, the startability for determining application to be tested can be integrated, so as to be to be measured
The exploitation of examination application, which improves, provides more comprehensive and accurate reference value.
In the application test device shown in Fig. 5 and Fig. 6, the first starting module can be directed to multiple operations set in advance
Each Run-time scenario in scene, starts application to be tested under the Run-time scenario;First acquisition module can be obtained in the fortune
The starting duration of start completion application to be tested under row scene;First logging modle with corresponding record Run-time scenario and can transport
The starting duration of start completion application to be tested under row scene.It can be seen that start every time with simple acquisition in the prior art to be tested
Shown in the starting duration of application, and can not consider or external environment condition during controllable initiating application to be tested is compared, Fig. 5 and Fig. 6
The starting duration of application to be tested can be tested under multiple Run-time scenarios using test device, so as to more accurate comprehensive
Determination application startability.Further, in the application test device shown in Fig. 6, the first output module can be with multiple
The starting duration tendency chart of Run-time scenario, it can more intuitively analyze the startability applied under different Run-time scenarios.
Referring to Fig. 7, Fig. 7 is the structural representation that another applies test device disclosed in the embodiment of the present invention, should answer
It can be equally arranged in the terminals such as notebook, mobile phone, tablet personal computer or wearable device with test device, as shown in fig. 7,
This can include with lower module using test device:
Second starting module 610, for believing for every group of configuration parameter in multigroup configuration parameter information set in advance
Breath, starts application to be tested under configuration parameter information;
Second acquisition module 620, for obtaining the starting duration of the start completion application to be tested under configuration parameter information;
Second logging modle 630, for corresponding record configuration parameter information and the start completion under configuration parameter information
The starting duration of application to be tested.
In the embodiment of the present invention, configuration parameter information can include the current remaining available memory space of terminal, operation system
System, chip processing speed etc..
In the embodiment of the present invention, multigroup configuration parameter information can be that initial configuration parameter information is updated with default value
Obtain, for example, initial configuration parameter information is obtained, under the initial configuration parameter information, the second starting module 610,
After second acquisition module 620 and the second logging modle 630 perform corresponding operation respectively;Can be by update module with default value
The initial configuration parameter information is updated, then again by the second starting module 610, the second acquisition module 620 and the second record
Module 630 performs corresponding operation respectively, until after update module updates the initial configuration parameter information with default value
Untill parameter value in configuration parameter information is less than predetermined threshold value, it is hereby achieved that multigroup configuration parameter information and its corresponding
Starting duration.Wherein, default value is smaller, and the configuration parameter information of corresponding record and its corresponding starting duration are more, really
The startability analysis result of the fixed application to be tested is more accurate, comprehensive.
In the embodiment of the present invention, multiple Run-time scenarios include terminal response main interface instruction after, terminal restarting after with
And after the enabled instruction of background application is responded during terminal operating, wherein:
Second starting module 610 starts the mode of application to be tested after the instruction of terminal response main interface, specifically by
The first test function testHome () is called to start application to be tested;
Second starting module 610 starts the mode of application to be tested after terminal restarting, specifically by calling the
Two test function testReboot () start application to be tested;
Second starting module 610 respond during the terminal operating start after the enabled instruction of background application it is described to be tested
The mode of application, start application to be tested specifically by the 3rd test function testBack () is called.
Also referring to Fig. 8, Fig. 8 is another structural representation for applying test device disclosed in the embodiment of the present invention,
Wherein, shown in Fig. 8 be to optimize acquisition using test device shown in Fig. 7 using test device, with shown in Fig. 7 should
To be compared with test device, the application test device shown in Fig. 8 can also include the second output module 640, wherein:
Second output module 640, for applying starting duration test analysis algorithm by calling, according to matching somebody with somebody for corresponding record
Put parameter information and under configuration parameter information start completion application to be tested starting duration, export different configuration parameters letter
The starting duration tendency chart of breath.
In the embodiment of the present invention, the second starting module 610 can be specifically used for being directed to multiple Run-time scenarios set in advance
In each Run-time scenario, start application to be tested under configuration parameter information and Run-time scenario.
Correspondingly, in the application test device shown in Fig. 8, the second acquisition module 620 can include:
Acquiring unit 621, for for each Run-time scenario in multiple Run-time scenarios, obtaining in configuration parameter information and
The starting duration of start completion application to be tested under Run-time scenario;
Determining unit 622, for the default starting duration weight according to each Run-time scenario in multiple Run-time scenarios, it is determined that
The starting duration of start completion application to be tested under configuration parameter information;
In the embodiment of the present invention, default starting duration weight determines to start under the configuration parameter information to be set in advance
When completing the starting duration of the application to be tested, the starting duration of application to be tested described in start completion under each Run-time scenario
Proportionality coefficient.
In the embodiment of the present invention, the application test device shown in Fig. 8 can also include:
3rd logging modle 650, it is every in multiple Run-time scenarios set in advance for being directed in the second starting module 610
Individual Run-time scenario, after starting application to be tested under configuration parameter information and Run-time scenario, in multiple Run-time scenarios
Each Run-time scenario, corresponding record configuration parameter information, Run-time scenario and is opened under configuration parameter information and Run-time scenario
The dynamic starting duration for completing application to be tested.
For example, multigroup configuration parameter information is respectively A1, B1, C1, D1, multiple Run-time scenarios are respectively A2, B2, C2, D2;
This of then corresponding record assembles and puts parameter information, the Run-time scenario and assemble and put under parameter information and the Run-time scenario at this
The starting duration of start completion application to be tested can be T{A1,A2},T{A1,B2},T{A1,C2},T{A1,D2};T{B1,A2},T{B1,B2},
T{B1,C2},T{B1,D2};T{C1,A2},T{C1,B2},T{C1,C2},T{C1,D2};T{D1,A2},T{D1,B2},T{D1,C2},T{D1,D2}。
Correspondingly, the default starting duration weight with determining unit 622 according to each Run-time scenario in multiple Run-time scenarios,
It is determined that assembling and putting under parameter information exemplified by the starting duration of start completion application to be tested at this, multiple Run-time scenarios are respectively
A2, B2, C2, D2 weight are respectively W, X, Y, Z, and determining unit 622 can determine that A1 is assembled and put start completion under parameter information
The starting duration of application to be tested is TA1=W*T{A1,A2}+X*T{A1,B2}+Y*T{A1,C2}+Z*T{A1,D2}.Alternatively it is also possible to root
According to the weight of multigroup configuration parameter information, the starting duration of start completion application to be tested under Run-time scenario is determined.
Wherein, starting duration analysis chart can also include the identical and default Run-time scenario difference of configuration parameter information of terminal
When starting duration tendency chart, and terminal configuration parameter information is different and starting duration when default Run-time scenario is identical becomes
Gesture figure.
In the embodiment of the present invention, the second acquisition module 620 can use order adb shell am start-w-n to obtain
Start the starting duration of application to be measured every time, and will be under above-mentioned configuration parameter information and multiple pre- by the second logging modle 630
If each the starting duration of application to be tested stores corresponding to default Run-time scenario in Run-time scenario, to be tested for determining
The startability of application.
In the application test device shown in Fig. 7 and Fig. 8, the second starting module can be directed to multigroup configuration set in advance
Often assembling in parameter information puts parameter information, assembles to put and starts application to be tested under parameter information at this;Second acquisition module
The starting duration of the start completion application to be tested under configuration parameter information can be obtained;Second logging modle can be with corresponding record
This assemble put parameter information and in the case where this assembles and puts parameter information start completion application to be tested starting duration.It can be seen that with
It is simple in the prior art to obtain the starting duration for starting application to be tested every time, and can not consider or controllable initiating application to be tested
When the configuration parameter information of terminal compare, the embodiment of the present invention can be tested under different configuration parameter information it is to be tested should
Starting duration, so as to the more accurate comprehensive startability for determining application.Further, answering described by Fig. 8
With in test device, the second output module can be called using starting duration test analysis algorithm, according to the configuration of corresponding record
Parameter information and in the case where this assembles and puts parameter information start completion application to be tested starting duration, export different configuration parameters
The starting duration tendency chart of information, and the 3rd logging modle can with corresponding record configuration parameter information, Run-time scenario and
The starting duration of start completion application to be tested under the configuration parameter information and the Run-time scenario, it is seen then that the embodiment of the present invention
It can be assembled in difference and put the starting duration for testing application to be tested under parameter information and different Run-time scenarios respectively, so as to
With the more accurate startability for comprehensively determining application to be tested..
Referring to Fig. 9, Fig. 9 is a kind of structural representation of terminal disclosed in the embodiment of the present invention, as shown in figure 9, the end
End can include at least one processor 710, such as CPU;User interface 720, the user interface can include keyboard, mouse with
And the input/output unit such as display screen;Memory 730, at least one communication bus 740.Wherein, communication bus 740 is used to realize
Communication connection between these components.Memory 730 can be high-speed RAM memory or non-labile memory
(non-volatile memory), for example, at least a magnetic disk storage.Memory 730 optionally can also be at least one
It is located remotely from the storage device of aforementioned processor 710.Wherein, processor 710 can be with reference to the application test shown in Fig. 5 and Fig. 6
Device, batch processing code is stored in memory 730, and processor 710 calls the program code stored in memory 730, uses
Operated below performing:
For each Run-time scenario in multiple Run-time scenarios set in advance, start under the Run-time scenario to be tested
Using;
Obtain the starting duration of the application to be tested described in start completion under the Run-time scenario;
Run-time scenario described in corresponding record and under the Run-time scenario application to be tested described in start completion startup
Duration.
In the embodiment of the present invention, processor 710 calls the program code in memory 730, can also carry out following operation:
Calling applies starting duration test analysis algorithm, according to the Run-time scenario of corresponding record and in the operation
The starting duration of application to be tested described in start completion under scene, export the starting duration tendency chart of the multiple Run-time scenario.
In the embodiment of the present invention, multiple Run-time scenarios include terminal response main interface instruction after, terminal restarting after with
And after the enabled instruction of background application is responded during terminal operating, wherein:
Correspondingly, processor 710 starts the mode of application to be tested after the instruction of terminal response main interface to be specially
By calling the first test function testHome () to start the application to be tested;
The mode that processor 710 starts the application to be tested after terminal restarting can be specifically by calling the
Two test function testReboot () start the application to be tested;
Processor 710 starts the application to be tested after the enabled instruction of background application is responded during terminal operating
Mode can start application to be tested specifically by the 3rd test function testBack () of calling.
Specifically, the terminal introduced in the present embodiment, which can implement the present invention, combines Fig. 1 to Fig. 2 introductions using test side
Part or all of flow in method embodiment.
Referring to Fig. 10, Figure 10 is a kind of structural representation of terminal disclosed in the embodiment of the present invention, as shown in Figure 10, should
Terminal can include at least one processor 810, such as CPU;User interface 820, the user interface can include keyboard, mouse
And the input/output unit such as display screen;Memory 830, at least one communication bus 840.Wherein, communication bus 840 is used for real
Communication connection between these existing components.Memory 830 can be high-speed RAM memory or non-labile storage
Device (non-volatile memory), for example, at least a magnetic disk storage.Memory 830 optionally can also be at least one
The individual storage device for being located remotely from aforementioned processor 810.Wherein, processor 810 can be surveyed with reference to the application shown in Fig. 7 and Fig. 8
Trial assembly is put, and batch processing code is stored in memory 830, and processor 810 calls the program code stored in memory 830,
For performing following operation:
Parameter information is put for often assembling in multigroup configuration parameter information set in advance, in the configuration parameter information
It is lower to start application to be tested;
Obtain the starting duration of the application to be tested described in start completion under the configuration parameter information;
Configuration parameter information described in corresponding record and under the configuration parameter information described in start completion it is to be tested should
Starting duration.
In the embodiment of the present invention, configuration parameter information can include the current remaining available memory space of terminal, operation system
System, chip processing speed etc..
In the embodiment of the present invention, multigroup configuration parameter information can be that initial configuration parameter information is updated with default value
Obtain.
In the embodiment of the present invention, processor 810 calls the program code in memory 830, can also carry out following operation:
By call apply starting duration test analysis algorithm, according to the configuration parameter information of corresponding record and
The starting duration of application to be tested described in start completion, exports the startup of different configuration parameter information under the configuration parameter information
Duration tendency chart.
In the embodiment of the present invention, processor 810 calls the program code in memory 830, described in the configuration parameter
Start application to be tested under information, can be specially each Run-time scenario being directed in multiple Run-time scenarios set in advance,
Start application to be tested under the configuration parameter information and the Run-time scenario;Correspondingly, processor 810 calls memory
Program code in 830, the starting duration of the application to be tested described in start completion under the configuration parameter information is obtained, can be with
It is specific to perform following operate:
For each Run-time scenario in the multiple Run-time scenario, obtain in the configuration parameter information and the operation
The starting duration of application to be tested described in start completion under scene;
According to the default starting duration weight of each Run-time scenario in the multiple Run-time scenario, it is determined that in the configuration ginseng
The starting duration of application to be tested described in start completion under number information;The default starting duration weight is determination set in advance
Under the configuration parameter information described in start completion during the starting duration of application to be tested, start completion institute under each Run-time scenario
State the proportionality coefficient of the starting duration of application to be tested.
In the embodiment of the present invention, processor 810 calls the program code in memory 830, for set in advance multiple
Each Run-time scenario in Run-time scenario, start under the configuration parameter information and the Run-time scenario and to be tested apply it
Afterwards, following steps be can also carry out:
For each Run-time scenario in the multiple Run-time scenario, configuration parameter information, the operation described in corresponding record
Scene and under the configuration parameter information and the Run-time scenario application to be tested described in start completion starting duration.
In the embodiment of the present invention, multiple Run-time scenarios include terminal response main interface instruction after, terminal restarting after with
And after the enabled instruction of background application is responded during terminal operating, wherein:
Processor 810 starts the mode of application to be tested after the instruction of terminal response main interface, specifically by calling the
One test function testHome () starts the application to be tested;
Processor 810 starts the mode of the application to be tested after terminal restarting, specifically by calling second
Test function testReboot () starts the application to be tested;
Processor 810 starts the application to be tested after the enabled instruction of background application is responded during terminal operating
Mode, start the application to be tested specifically by the 3rd test function testBack () is called.
Specifically, the terminal introduced in the present embodiment, which can implement the present invention, combines Fig. 1 to Fig. 3 introductions using test side
Part or all of flow in method embodiment.
The embodiment of the present invention additionally provides a kind of terminal, can include application test device as shown in figure 3 or 4.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office
Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area
Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification
Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three
It is individual etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include
Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage
Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries
Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also
That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (15)
- A kind of 1. application testing method, it is characterised in that including:For each Run-time scenario in multiple Run-time scenarios set in advance, start to be tested answer under the Run-time scenario With;Obtain the starting duration of the application to be tested described in start completion under the Run-time scenario;Run-time scenario described in corresponding record and under the Run-time scenario application to be tested described in start completion starting duration;Calling applies starting duration test analysis algorithm, according to the Run-time scenario of corresponding record and in the Run-time scenario The starting duration of application to be tested described in lower start completion, export the starting duration tendency chart of the multiple Run-time scenario.
- 2. according to the method for claim 1, it is characterised in that the multiple Run-time scenario refers to including terminal response main interface After order, terminal restarting after and terminal operating during respond background application enabled instruction after, wherein:Start application to be tested after the instruction of terminal response main interface, including:By calling the first test function testHome () to start the application to be tested;Start the application to be tested after terminal restarting, including:By calling the second test function testReboot () to start the application to be tested;Start the application to be tested after the enabled instruction of background application is responded during terminal operating, including:By calling the 3rd test function testBack () to start the application to be tested.
- A kind of 3. application testing method, it is characterised in that including:Parameter information is put for often assembling in multigroup configuration parameter information set in advance, is opened under the configuration parameter information Move application to be tested;Obtain the starting duration of the application to be tested described in start completion under the configuration parameter information;Configuration parameter information described in corresponding record and the application to be tested described in start completion under the configuration parameter information Starting duration;Starting duration test analysis algorithm is applied by calling, according to the configuration parameter information of corresponding record and described The starting duration of application to be tested described in start completion under configuration parameter information, export the starting duration of different configuration parameter information Tendency chart.
- 4. according to the method for claim 3, it is characterised in that described to start to be tested answer under the configuration parameter information With, including:For each Run-time scenario in multiple Run-time scenarios set in advance, in the configuration parameter information and the operation Start application to be tested under scene;The starting duration of acquisition application to be tested described in start completion under the configuration parameter information, including:For each Run-time scenario in the multiple Run-time scenario, obtain in the configuration parameter information and the Run-time scenario The starting duration of application to be tested described in lower start completion;According to the default starting duration weight of each Run-time scenario in the multiple Run-time scenario, it is determined that believing in the configuration parameter The starting duration of the lower application to be tested described in start completion of breath;The default starting duration weight is described in determination set in advance Under configuration parameter information described in start completion during the starting duration of application to be tested, treated under each Run-time scenario described in start completion Test the proportionality coefficient of the starting duration of application.
- 5. according to the method for claim 4, it is characterised in that described for every in multiple Run-time scenarios set in advance Individual Run-time scenario, after starting application to be tested under the configuration parameter information and the Run-time scenario, methods described is also Including:For each Run-time scenario in the multiple Run-time scenario, configuration parameter information, the Run-time scenario described in corresponding record And under the configuration parameter information and the Run-time scenario application to be tested described in start completion starting duration.
- 6. according to the method for claim 4, it is characterised in that the multiple Run-time scenario refers to including terminal response main interface After order, terminal restarting after and terminal operating during respond background application enabled instruction after, wherein:Start application to be tested after the instruction of terminal response main interface, including:By calling the first test function testHome () to start the application to be tested;Start the application to be tested after terminal restarting, including:By calling the second test function testReboot () to start the application to be tested;Start the application to be tested after the enabled instruction of background application is responded during terminal operating, including:By calling the 3rd test function testBack () to start the application to be tested.
- 7. according to the method for claim 3, it is characterised in that the configuration parameter information include terminal in internal memory it is current Remaining free space.
- 8. one kind applies test device, it is characterised in that including:First starting module, for for each Run-time scenario in multiple Run-time scenarios set in advance, in the operation field Start application to be tested under scape;First acquisition module, for obtaining the starting duration of the application to be tested described in start completion under the Run-time scenario;First logging modle, it is to be measured described in start completion for Run-time scenario described in corresponding record and under the Run-time scenario Try the starting duration of application;Described device also includes:First output module, starting duration test analysis algorithm is applied for calling, according to the Run-time scenario of corresponding record And under the Run-time scenario application to be tested described in start completion starting duration, export opening for the multiple Run-time scenario Dynamic duration tendency chart.
- 9. device according to claim 8, it is characterised in that the multiple Run-time scenario refers to including terminal response main interface After order, terminal restarting after and terminal operating during respond background application enabled instruction after, wherein:First starting module starts the mode of application to be tested after the instruction of terminal response main interface, specifically by calling First test function testHome () starts the application to be tested;First starting module starts the mode of the application to be tested after terminal restarting, specifically by calling the Two test function testReboot () start the application to be tested;First starting module respond during the terminal operating start after the enabled instruction of background application it is described it is to be tested should Mode, start the application to be tested specifically by the 3rd test function testBack () is called.
- 10. one kind applies test device, it is characterised in that including:Second starting module, for putting parameter information for often assembling in multigroup configuration parameter information set in advance, in institute State and start application to be tested under configuration parameter information;Second acquisition module, for obtaining under the configuration parameter information described in start completion during the startup of application to be tested It is long;Second logging modle, for configuration parameter information described in corresponding record and the start completion under the configuration parameter information The starting duration of the application to be tested;Described device also includes:Second output module, for applying starting duration test analysis algorithm by calling, according to the configuration of corresponding record Parameter information and under the configuration parameter information application to be tested described in start completion starting duration, export different configurations The starting duration tendency chart of parameter information.
- 11. device according to claim 10, it is characterised in that second starting module, specifically for for advance Each Run-time scenario in multiple Run-time scenarios of setting, starts under the configuration parameter information and the Run-time scenario and treats Test application;Second acquisition module, including:Acquiring unit, for for each Run-time scenario in the multiple Run-time scenario, obtain the configuration parameter information with And under the Run-time scenario application to be tested described in start completion starting duration;Determining unit, for the default starting duration weight according to each Run-time scenario in the multiple Run-time scenario, it is determined that The starting duration of application to be tested described in start completion under the configuration parameter information;The default starting duration weight is advance Under configuration parameter information described in the determination of setting described in start completion during the starting duration of application to be tested, under each Run-time scenario The proportionality coefficient of the starting duration of application to be tested described in start completion.
- 12. device according to claim 11, it is characterised in that described device also includes:3rd logging modle, for each operation being directed in second starting module in multiple Run-time scenarios set in advance Scene, after starting application to be tested under the configuration parameter information and the Run-time scenario, for the multiple operation Each Run-time scenario in scene, configuration parameter information described in corresponding record, the Run-time scenario and believes in the configuration parameter The starting duration of application to be tested described in start completion under breath and the Run-time scenario.
- 13. device according to claim 11, it is characterised in that the multiple Run-time scenario includes terminal response main interface After instruction, terminal restarting after and terminal operating during respond background application enabled instruction after, wherein:Second starting module starts the mode of application to be tested after the instruction of terminal response main interface, specifically by calling First test function testHome () starts the application to be tested;Second starting module starts the mode of the application to be tested after terminal restarting, specifically by calling the Two test function testReboot () start the application to be tested;Second starting module respond during the terminal operating start after the enabled instruction of background application it is described it is to be tested should Mode, start the application to be tested specifically by the 3rd test function testBack () is called.
- 14. device according to claim 10, it is characterised in that the configuration parameter information include terminal in internal memory work as Preceding remaining free space.
- 15. a kind of terminal, it is characterised in that including the device as described in any one of claim 8 to 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510381966.9A CN105095072B (en) | 2015-07-02 | 2015-07-02 | Application testing method and device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510381966.9A CN105095072B (en) | 2015-07-02 | 2015-07-02 | Application testing method and device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105095072A CN105095072A (en) | 2015-11-25 |
CN105095072B true CN105095072B (en) | 2018-01-23 |
Family
ID=54575567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510381966.9A Active CN105095072B (en) | 2015-07-02 | 2015-07-02 | Application testing method and device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105095072B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105550104B (en) * | 2015-12-08 | 2018-04-20 | 北京奇虎科技有限公司 | Application program capacity test method and device |
CN107562594B (en) * | 2017-09-08 | 2020-12-25 | 东莞华贝电子科技有限公司 | Method and system for testing operating system of mobile terminal |
CN114625457B (en) * | 2020-12-11 | 2024-02-27 | 深信服科技股份有限公司 | Desktop cloud environment optimization method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677920A (en) * | 2013-12-11 | 2014-03-26 | 清华大学 | Critical application program identifying and starting accelerating method and system |
CN103955405A (en) * | 2014-04-01 | 2014-07-30 | 珠海市君天电子科技有限公司 | Application management method and device |
CN104166619A (en) * | 2013-05-20 | 2014-11-26 | 腾讯科技(深圳)有限公司 | Performance measuring method and terminal of application program |
CN104199692A (en) * | 2014-08-25 | 2014-12-10 | 北京金山安全软件有限公司 | Method, device and terminal for acquiring starting time of application program |
CN104536808A (en) * | 2014-12-30 | 2015-04-22 | 中国科学院深圳先进技术研究院 | Parameter configuration method and system for cloud application programs |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100571167C (en) * | 2006-02-24 | 2009-12-16 | 国际商业机器公司 | The method and apparatus of the unit testing of Web service operation flow |
-
2015
- 2015-07-02 CN CN201510381966.9A patent/CN105095072B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104166619A (en) * | 2013-05-20 | 2014-11-26 | 腾讯科技(深圳)有限公司 | Performance measuring method and terminal of application program |
CN103677920A (en) * | 2013-12-11 | 2014-03-26 | 清华大学 | Critical application program identifying and starting accelerating method and system |
CN103955405A (en) * | 2014-04-01 | 2014-07-30 | 珠海市君天电子科技有限公司 | Application management method and device |
CN104199692A (en) * | 2014-08-25 | 2014-12-10 | 北京金山安全软件有限公司 | Method, device and terminal for acquiring starting time of application program |
CN104536808A (en) * | 2014-12-30 | 2015-04-22 | 中国科学院深圳先进技术研究院 | Parameter configuration method and system for cloud application programs |
Also Published As
Publication number | Publication date |
---|---|
CN105095072A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108399132A (en) | A kind of scheduling tests method, apparatus and storage medium | |
CN106649084A (en) | Function call information obtaining method and apparatus, and test device | |
CN104135520B (en) | A kind of method and device for identifying android terminal | |
CN104199692B (en) | Method, device and terminal for acquiring starting time of application program | |
CN105095072B (en) | Application testing method and device and terminal | |
CN103605606B (en) | A kind of embedded software test use-case batch execution method that can automatically change | |
CN107045475B (en) | Test method and device | |
CN104199693B (en) | Method, device and terminal for obtaining boot time | |
CN107423894A (en) | The task measures and procedures for the examination and approval, device and computer equipment | |
CN108563579A (en) | White-box testing method, apparatus, system and storage medium | |
CN110321178A (en) | Starting processing method, device, equipment and the storage medium of attached application end | |
CN111190808A (en) | Automated testing method, system, device and computer readable storage medium | |
CN109086176A (en) | A kind of SSD steady-state method of test, device, equipment and storage medium based on FIO | |
CN109684166A (en) | Method, apparatus, terminal and the storage medium of automatic test Sensor log normalization | |
CN109933521A (en) | Automated testing method, device, computer equipment and storage medium based on BDD | |
CN109815141A (en) | A kind of test method and device | |
CN109814917A (en) | Micro services dissemination method, device, computer equipment and storage medium | |
CN111723020A (en) | Method, device and equipment for testing electric energy meter testing software | |
CN112996020A (en) | Bluetooth-based automatic testing method and device and Bluetooth testing terminal | |
CN110569154B (en) | Chip interface function testing method, system, terminal and storage medium | |
CN106095417A (en) | A kind of prospect Application Program Interface refresh synchronization method and system | |
CN109491909A (en) | A kind of CPLD refreshes verification method, device, terminal and storage medium | |
CN109376072A (en) | Application development method and apparatus based on third party's Component Gallery | |
CN109558187A (en) | A kind of user interface rendering method and device | |
CN107292614A (en) | Pay class application management method, device and mobile terminal |
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 |