CN109684213A - A kind of test method, device and storage medium - Google Patents

A kind of test method, device and storage medium Download PDF

Info

Publication number
CN109684213A
CN109684213A CN201811573798.3A CN201811573798A CN109684213A CN 109684213 A CN109684213 A CN 109684213A CN 201811573798 A CN201811573798 A CN 201811573798A CN 109684213 A CN109684213 A CN 109684213A
Authority
CN
China
Prior art keywords
test
testing time
cycle tests
ratio value
target detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811573798.3A
Other languages
Chinese (zh)
Other versions
CN109684213B (en
Inventor
李兴明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201811573798.3A priority Critical patent/CN109684213B/en
Publication of CN109684213A publication Critical patent/CN109684213A/en
Application granted granted Critical
Publication of CN109684213B publication Critical patent/CN109684213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The embodiment of the present application discloses a kind of test method, device and storage medium, wherein the embodiment of the present application is by obtaining the first cycle tests and the second cycle tests, to generate target test mode;Test instruction is received, into the target test mode, obtains calling ratio value and the testing time under the target test mode;Determine that corresponding target detection sequence, the target detection sequence are the first cycle tests or the second cycle tests according to the relationship of the calling ratio value and the testing time;Test result is tested and obtained according to determining target detection sequence, testing time is updated according to test result, continues to test according to updated testing time and the relationship for calling ratio value, terminates to test when until meeting termination condition.By carrying out mixing selection to cycle tests automatically, mechanical test repeatedly is reduced, is saved the testing time with this, testing efficiency is improved.

Description

A kind of test method, device and storage medium
Technical field
The present invention relates to the field of test technology more particularly to a kind of test methods, device and storage medium.
Background technique
In the production process of product, in the premise of the reliability for the stability and product that guarantee the performance of product Under, it is indispensable for carrying out a large amount of test to product, thus by testing obtained test data come discriminatory analysis product The stability of performance.
Current test method is mainly in the case where the test item of product determines, in the production phase just to determining Test item progress is mechanical to be tested repeatedly, since test item quantity is more in test process, will cause testing time mistake It is long, therefore cause testing efficiency lower.
Summary of the invention
The embodiment of the invention provides a kind of test method, device and storage mediums, have saved the testing time, to improve Testing efficiency.
In a first aspect, the embodiment of the present application provides a kind of test method, comprising:
The first cycle tests and the second cycle tests are obtained, to generate target test mode;
Test instruction is received, into the target test mode, obtains the calling ratio value under the target test mode And testing time;
Corresponding target detection sequence, the target are determined according to the relationship of the calling ratio value and the testing time Cycle tests is the first cycle tests or the second cycle tests;
Test result is tested and obtained according to determining target detection sequence, test time is updated according to test result Number continues to test according to updated testing time and the relationship for calling ratio value, until when meeting termination condition Terminate test.
Second aspect, the embodiment of the present application provide a kind of test device, comprising:
Generation module, for obtaining the first cycle tests and the second cycle tests, to generate target test mode;
Receiving module, into the target test mode, obtains under the target test mode for receiving test instruction Calling ratio value and testing time;
Module is obtained, for determining corresponding target detection according to the relationship of the calling ratio value and the testing time Sequence, the target detection sequence are the first cycle tests or the second cycle tests.
Test module is tied for being tested and being obtained test result according to determining target detection sequence according to test Fruit updates testing time, continues to test according to updated testing time and the relationship for calling ratio value, until full Terminate to test when sufficient termination condition.
The third aspect, storage medium provided by the embodiments of the present application, is stored thereon with computer program, when the computer journey When sequence is run on computers, so that the computer executes the test method provided such as the application any embodiment.
The embodiment of the present application is by obtaining the first cycle tests and the second cycle tests, to generate target test mode;It connects Acceptance Tests instruction, into the target test mode, obtains calling ratio value and the testing time under the target test mode; Corresponding target detection sequence, the target detection sequence are determined according to the relationship of the calling ratio value and the testing time For the first cycle tests or the second cycle tests;Test result, root are tested and obtained according to determining target detection sequence Testing time is updated according to test result, continues to survey according to updated testing time and the relationship for calling ratio value Examination terminates to test when until meeting termination condition.By carrying out mixing selection to cycle tests automatically, repeatedly mechanical is reduced Test, is saved the testing time with this, improves testing efficiency.
Detailed description of the invention
Fig. 1 is the flow diagram of test method provided by the embodiments of the present application.
Fig. 2 is another flow diagram of test method provided by the embodiments of the present application.
Fig. 3 is the structural schematic diagram of test device provided by the embodiments of the present application.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by It is considered as limitation the application other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object to execute in the arithmetic system as.It is somebody's turn to do herein not Same component, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And the device and method being somebody's turn to do herein is excellent Being implemented in the form of software for choosing, can also be implemented on hardware, certainly within the application protection scope.
The embodiment of the present application provides a kind of test method, referring to Fig. 1, Fig. 1 is test method provided in this embodiment Flow diagram, the test method the following steps are included:
In step s101, the first cycle tests and the second cycle tests are obtained, to generate target test mode.
Wherein, the first cycle tests refers to complete cycle tests, includes entire testing process and complete test item Mesh, complete test item include required test item and all optional projects.Second cycle tests includes entire testing process and essence Test item after letter, the test item after simplifying include required test item and part optional project.In addition, target test mode is Refer under target test mode, the first cycle tests or the second cycle tests can be called to be tested.
It should be noted that largely being tested using the first cycle tests in the trial production stage, passing through test data Test errors probability is less than the test item of preset value (for example, test errors probability is less than 0.01) as can by analysis statistics Option, it will be understood that, the test item that test errors probability is less than preset value refers to general in trial production stage test errors The test item that rate is zero or test errors probability is minimum.
Therefore the test item in the second cycle tests includes required test item and the optional project determining by the trial production stage In part optional project, wherein part optional project can be the optional project of the fixation of tester's setting, or logical Cross algorithm or optional project that program determines at random, or the optional project etc. determined according to external environment and time, For example, determining optional project according to test temperature or humidity or current time, matched under the conditions of different temperature or humidity Different optional projects.
In step s 102, test instruction is received, into target test mode, obtains the calling ratio under target test mode Example value and testing time.
Wherein, the generating mode for testing instruction may include detect object under test access test equipment, pressing test by Button, by the test control of touching test equipment, reach preset time when automatically generate or monitor and preset voice messaging etc., When receiving test instruction, instructed automatically into target test mode or artificial manually select into target detection.
In some embodiments, after receiving test instruction, test pattern may be selected.Wherein, test pattern can be One test pattern, the second test pattern or target test mode, under the first test pattern, can only call the first cycle tests into Row is tested, and only the second test pattern can be called to be tested under the second test pattern.
In addition, the calling ratio value under target test mode is natural number, for determining the number of test loop.For example, When calling ratio value is 0, the first cycle tests is called in test every time;When calling ratio value is 1, one time first survey is called It tries sequence and calls second cycle tests;When calling ratio value is 10, that is, calls first cycle tests and call Ten the second cycle tests, and so on.
In addition, the first test after entering target test mode is tested for the first time, the testing time tested for the first time at this time It is set as 0.In addition, testing time is changeable value, can be changed according to test result.
In step s 103, corresponding target detection sequence, mesh are determined according to the relationship of calling ratio value and testing time Marking cycle tests is the first cycle tests or the second cycle tests.
Wherein, in some embodiments, determine that corresponding target is surveyed according to the relationship of calling ratio value and testing time Try sequence the step of include:
(1) judge to call ratio value or whether testing time is zero;
(2) it when calling ratio value or testing time is zero, obtains the first cycle tests and is tested;
Wherein, may include following several situations when calling ratio value or testing time is zero:
When calling ratio value is zero, in conjunction with above content it is found that when calling ratio value is zero, test is called every time First cycle tests;
When call ratio value to be not zero and testing time be zero when, can be including currently testing to test or update for the first time Testing time afterwards is zero, then obtains the first cycle tests and tested.
(3) it when calling ratio value and testing time to be not zero, obtains the second cycle tests and is tested.
Wherein, when calling ratio value to be not zero, test needs to call first cycle tests at this time, while also needing The second cycle tests is called, and when testing time is not zero at this time, illustrate currently to test not to test for the first time, therefore obtains second and survey Examination sequence is tested.
In step S104, test result is tested and obtained according to determining target detection sequence, is tied according to test Fruit updates testing time, continues to test with the relationship of ratio value is called according to updated testing time, until meeting knot Terminate to test when beam condition.
Wherein, test result may include be successfully tested with two kinds of test crash, testing time is updated if being successfully tested, and According to updated testing time with the size relation for calling ratio value to determine whether continuing to test, until meeting terminates Terminate to test when condition.
In some embodiments, the step of terminating test when meeting termination condition, may include:
(1) testing time that record is completed, terminates to test when the testing time of completion reaches preset value.Or
Wherein, it whenever the testing time for completing just to record completion when primary test, is successfully tested or test crash has been At test, terminate to test when the testing time of completion reaches preset value, for example, when the testing time completed reaches preset value 50 When, that is, terminate to test.
(2) when tested between when reaching preset time, terminate test;Or
That is the recording test time when receiving test instruction and starting test, when detecting that the testing time reaches preset time example When such as 2 hours, terminate test.
Wherein, in some embodiments, when tested between reach preset time after, can also include:
Detection previous ought test whether to terminate;
If continuing test until when previous test terminates when previous test is not finished;Or
Generate selection prompt and auditory tone cues, when receive continue test instruction when, then continue test until when previous survey Examination terminates and terminates auditory tone cues;
If terminating to test when previous test terminates.
(3) number for recording test crash terminates test when the number of test crash reaches preset times.
Wherein, the number of test crash may include the first cycle tests test crash number, the failure of the second testing time Number and the test of the first cycle tests and the second testing time are total to the frequency of failure, and preset times may include that the first cycle tests is surveyed Examination failure preset times, the second cycle tests test crash preset times and the test of the first cycle tests and the second testing time are total The preset times of failure terminate test when the number of test crash reaches preset times, may include when the first cycle tests When test crash number reaches preset times, terminate test.For example, when the second cycle tests test crash number reaches 5 times, Terminate test.
In some embodiments, terminate after testing further include:
(1) it generates test data and saves;
Wherein, test data may include time-consuming test, test product number, test item content and test result, survey Perhaps in addition test data can be and saved in the form of chart or text humidity etc. examination temperature.
(2) test data is sent to default equipment.
Wherein, default equipment can with test equipment by WIFI (wireless fidelity, adopting wireless fidelity technology), Local area network or bluetooth are attached.
From the foregoing, it will be observed that a kind of test method provided by the embodiments of the present application, is surveyed by obtaining the first cycle tests and second Sequence is tried, to generate target test mode;Test instruction is received, into target test mode, is obtained under target test mode Call ratio value and testing time;Corresponding target detection sequence, mesh are determined according to the relationship of calling ratio value and testing time Marking cycle tests is the first cycle tests or the second cycle tests;It is tested and is surveyed according to determining target detection sequence Test result, according to test result update testing time, according to updated testing time and call ratio value relationship continue into Row test terminates to test when until meeting termination condition.By carrying out mixing selection to cycle tests automatically, machine repeatedly is reduced The test of tool formula, is saved the testing time with this, improves testing efficiency.
Citing, is described in further detail by the method according to described in above-described embodiment below.
Referring to Fig. 2, Fig. 2 is another flow diagram of test method provided in this embodiment, which includes Following steps:
In step s 201, the first cycle tests and the second cycle tests are obtained, to generate target test mode.
It wherein, can under target test mode including the first cycle tests and the second cycle tests in target test mode To call the first cycle tests and the second cycle tests.
In step S202, test instruction is received, into target test mode, obtains the calling ratio under target test mode Example value and testing time.
It wherein, can also include selection test pattern, when the test pattern of selection is the first test after receiving test instruction When mode or the second test pattern, then directly the first cycle tests and the second cycle tests is called to be tested respectively, and remember Test result is recorded, until meeting termination condition;When default test mode be target test mode when, after preset time automatically into Enter target test mode, and obtains calling ratio value and testing time under target test mode.
The preset calling ratio for calling ratio value or receiving user's input is obtained in addition, obtaining and ratio value being called to can be Example value, also, it is set as zero the testing time tested for the first time after target test mode will be entered.
In step S203, judges to call ratio value or whether testing time is zero.
Wherein, when calling ratio value or testing time is zero, step S204 is executed;When calling ratio value and testing time When being not zero, step S205 is executed.
For example, thening follow the steps S204 when calling ratio value is 0;Or it when testing time is 0, thens follow the steps S204;When calling ratio is 1 and testing time is 1, S205 is thened follow the steps.
In step S204, obtains the first cycle tests and tested.
Wherein, the first cycle tests is obtained, is tested according to the test item of the first cycle tests with testing process, and Record test result.
In step S205, obtains the second cycle tests and tested.
Wherein, the second cycle tests is obtained, is tested according to the test item of the second cycle tests with testing process, and Record test result.Wherein, the test item of the second cycle tests is less than the test item of the first cycle tests.
In step S206, success is tested whether according to test result judgement.
Wherein, test result may include the situation that is successfully tested of all test items, and test item includes required test item With optional project, need to illustrate when, when any one test item failure when, then assert current test crash.
When test item is successfully tested, that is, when being successfully tested, execute step S207;When at least in the presence of a test item Test crash when testing unsuccessful, then detects the type of target detection sequence, when target detection sequence is the first cycle tests When, step S208 is executed, when target detection sequence is the second cycle tests, executes step S209.
In step S207, the numerical value of testing time is added one, to obtain updated testing time;
Wherein, when test item is successfully tested, that is, when being successfully tested, testing time is updated, by the numerical value of testing time Add one, obtains updated testing time.
In step S208, testing time is remained unchanged.
Wherein, it when at least there is a test item test crash, that is, testing unsuccessful, and detecting target detection sequence Type be the first cycle tests when, testing time remains unchanged at this time.
For example, current to test for the first time, testing time is 0 at this time, and the first cycle tests is called to be tested, when test is tied When fruit is test crash, then testing time is still 0.
In step S209, testing time is reset to obtain updated testing time.
Wherein, it when at least there is test item test crash, that is, testing unsuccessful, and detecting target detection sequence When type is the second cycle tests, because the second cycle tests is the test item after simplifying, the test item after simplifying includes must Survey project and part optional project.Therefore when the second cycle tests test crash, need to reset testing time, after obtaining update Testing time, and then restart to test, to guarantee test effect.
For example, calling the second cycle tests to be tested when calling ratio value is 1 and testing time is 1, when test is tied When fruit is test crash, then testing time is reset, therefore updated testing time is 0.
In step S210, judge whether updated testing time is greater than calling ratio value.
Wherein, it when updated testing time is no more than ratio value is called, executes step S203 and continues to test.
For example, calling, ratio value is 1 and is when testing for the first time, and testing time is 0 at this time, and the first cycle tests is called to carry out Test, when test result is to be successfully tested, testing time adds 1, and obtaining updated testing time is 1, updated at this time Testing time 1, which is equal to, calls ratio value 1, then continues to execute step S203.Alternatively, call ratio value be 1 and for test for the first time when, Testing time is 0 at this time, and the first cycle tests is called to be tested, and when test result is test crash, testing time is kept Constant, testing time 0, which is less than, at this time calls ratio value 1, then continues to execute step S203.
When updated testing time, which is greater than, calls ratio value, step S211 is executed.
For example, calling ratio value is 1 but when testing time is 1, calls the second cycle tests to be tested, work as test result When to be successfully tested, testing time adds 1 to obtain updated testing time 2, and updated testing time 2, which is greater than, at this time calls ratio Example value 1, thens follow the steps S211.
In step S211, terminate test.
Wherein, when updated testing time, which is greater than, calls ratio value, terminate test.
From the foregoing, it will be observed that a kind of test method provided by the embodiments of the present application, is surveyed by obtaining the first cycle tests and second Sequence is tried, to generate target test mode;Test instruction is received, into target test mode, is obtained under target test mode Call ratio value and testing time;Corresponding target detection sequence, mesh are determined according to the relationship of calling ratio value and testing time Marking cycle tests is the first cycle tests or the second cycle tests;It is tested and is surveyed according to determining target detection sequence Test result, according to test result update testing time, according to updated testing time and call ratio value relationship continue into Row test terminates to test when until meeting termination condition.By carrying out mixing selection to cycle tests automatically, machine repeatedly is reduced The test of tool formula, is saved the testing time with this, improves testing efficiency.
For convenient for better implementation test method provided by the embodiments of the present application, the embodiment of the present application also provides one kind and is based on The device of above-mentioned test method.Wherein the meaning of noun is identical with above-mentioned test method, and specific implementation details can be with reference to side Explanation in method embodiment.
Referring to Fig. 3, Fig. 3 is the structural schematic diagram of test device provided by the embodiments of the present application.Specifically, the test Device 300, comprising: generation module 31, obtains module 33 and test module 34 at receiving module 32.
Generation module 31, for obtaining the first cycle tests and the second cycle tests, to generate target test mode.
Wherein, the first cycle tests that generation module 31 obtains refers to complete cycle tests, includes entire testing process And complete test item, complete test item include required test item and all optional projects.In addition, the second cycle tests packet Test item after including entire testing process and simplifying, the test item after simplifying include required test item and part optional project. Generation module 31, which obtains the target test mode that the first cycle tests and the second cycle tests generate, can call the first test sequence Column and the second cycle tests.
Receiving module 32, into target test mode, obtains the calling under target test mode for receiving test instruction Ratio value and testing time.
After wherein receiving module 32 receives test instruction, the calling ratio value under the target test mode of acquisition is nature Number, for determining the number of test loop, in addition, if current test is to be head into the first test after target test mode Secondary test, the testing time that receiving module 32 obtains at this time is zero.
Module 33 is obtained, for determining corresponding target detection sequence according to the relationship of calling ratio value and testing time, Target detection sequence is the first cycle tests or the second cycle tests.
Wherein, in some embodiments, obtaining module 33 may include that judging submodule and cycle tests obtain module.
Judging submodule calls whether ratio value or testing time are zero for judging;
Cycle tests acquisition submodule, for obtaining the first cycle tests when calling ratio value or testing time is zero; Or
For obtaining the second cycle tests when calling ratio value and testing time to be not zero.
Test module 34, for being tested and being obtained test result according to determining target detection sequence, according to test As a result testing time is updated, continues to test with the relationship of ratio value is called according to updated testing time, until meeting Terminate to test when termination condition.
Wherein, in some embodiments, test module 34 may include updating submodule, Comparative sub-module and terminating sub Module.
Submodule is updated, specifically for being tested and being obtained test result according to determining target detection sequence, according to Test result judgement tests whether success;
If success, adds one for the numerical value of testing time, to obtain updated testing time;
If unsuccessful, the type of target detection sequence is detected, corresponding survey is determined according to the type of target detection sequence Try number.When target detection sequence is the first cycle tests, testing time is remained unchanged;When target detection sequence is the second survey When trying sequence, testing time is reset to obtain updated testing time.
Comparative sub-module, specifically for judging updated testing time and calling the size relation of ratio value;
When updated testing time is no more than ratio value is called, continue according to the pass for calling ratio value and testing time System determines that corresponding target detection sequence is tested.
Terminate submodule, is specifically used for terminating test when updated testing time is greater than and calls ratio value.
From the foregoing, it will be observed that a kind of test device 300 provided by the embodiments of the present application, obtains the first test by generation module 31 Sequence and the second cycle tests, to generate target test mode;Receiving module 32 receives test instruction, into target detection mould Formula obtains calling ratio value and testing time under target test mode;Module 33 is obtained according to calling ratio value and test time Several relationships determines that corresponding target detection sequence, target detection sequence are the first cycle tests or the second cycle tests;Test Test result is tested and obtained to module 34 according to determining target detection sequence, updates testing time according to test result, Continue to test with the relationship of ratio value is called according to updated testing time, terminates to survey when until meeting termination condition Examination.By carrying out mixing selection to cycle tests automatically, mechanical test repeatedly is reduced, is saved the testing time with this, is improved Testing efficiency.The embodiment of the present application also provides a kind of storage medium, which is stored with computer program, when the computer When program is run on computers, so that the computer executes the test method in any of the above-described embodiment, such as: obtain first Cycle tests and the second cycle tests, to generate target test mode;Test instruction is received, into target test mode, is obtained Calling ratio value and testing time under target test mode;It is corresponding according to calling the relationship of ratio value and testing time to determine Target detection sequence, target detection sequence are the first cycle tests or the second cycle tests;According to determining target detection sequence Test result is tested and obtained, testing time is updated according to test result, according to updated testing time and calls ratio The relationship of example value continues to test, and terminates to test when until meeting termination condition.
In the embodiment of the present application, storage medium can be magnetic disk, CD, read-only memory (Read Only Memory, ) or random access memory (Random Access Memory, RAM) etc. ROM.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
It should be noted that this field common test personnel are understood that for the test method of the embodiment of the present application The all or part of the process for realizing the test method of the embodiment of the present application, be can be controlled by computer program it is relevant hard Part is completed, which can be stored in a computer-readable storage medium, be such as stored in the storage of electronic equipment It in device, and is executed by least one processor in the electronic equipment, in the process of implementation may include the implementation such as test method The process of example.Wherein, the storage medium being somebody's turn to do can be magnetic disk, CD, read-only memory, random access memory etc..
For the test device of the embodiment of the present application, each functional module be can integrate in a processing chip, It can be modules to physically exist alone, can also be integrated in two or more modules in a module.It is above-mentioned integrated Module both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module If in the form of software function module realize and when sold or used as an independent product, also can store one calculating In machine read/write memory medium, which is for example read-only memory, disk or CD etc..
A kind of test method, device and storage medium provided by the embodiment of the present application are described in detail above, Specific examples are used herein to illustrate the principle and implementation manner of the present application, and the explanation of above embodiments is only used The present processes and its core concept are understood in help;Meanwhile for those skilled in the art, according to the think of of the application Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair The limitation of the application.

Claims (10)

1. a kind of test method characterized by comprising
The first cycle tests and the second cycle tests are obtained, to generate target test mode;
Test instruction is received, into the target test mode, obtains calling ratio value and the survey under the target test mode Try number;
Corresponding target detection sequence, the target detection are determined according to the relationship of the calling ratio value and the testing time Sequence is the first cycle tests or the second cycle tests;
Test result is tested and obtained according to determining target detection sequence, testing time, root are updated according to test result Continue to test according to updated testing time and the relationship for calling ratio value, terminates to survey when until meeting termination condition Examination.
2. the method according to claim 1, wherein described according to the calling ratio value and the testing time Relationship the step of determining corresponding target detection sequence, comprising:
Judge whether the calling ratio value or the testing time are zero;
When the calling ratio value or the testing time are zero, the first cycle tests is obtained;
When the calling ratio value and the testing time are not zero, the second cycle tests is obtained.
3. -2 described in any item methods according to claim 1, which is characterized in that described to update testing time according to test result The step of, comprising:
Success is tested whether according to test result judgement;
If success, adds one for the numerical value of testing time, to obtain updated testing time;
If unsuccessful, the type of the target detection sequence is detected, is determined according to the type of the target detection sequence corresponding Testing time.
4. according to the method described in claim 3, it is characterized in that, the type according to the target detection sequence determines phase The step of testing time answered, comprising:
When the target detection sequence is the first cycle tests, testing time is remained unchanged;
When the target detection sequence is the second cycle tests, testing time is reset to obtain updated testing time.
5. method according to claim 1 to 2, which is characterized in that described according to updated testing time and the calling The relationship of ratio value continues the step of test, comprising:
Judge the updated testing time and the size relation for calling ratio value;
When the updated testing time be not more than the callings ratio value when, continue return according to the calling ratio value with The relationship of the testing time determines the step of corresponding target detection sequence is tested.
6. the method according to claim 1, wherein the step for terminating test when until meeting termination condition Suddenly, comprising:
When the updated testing time is greater than the calling ratio value, terminate test.
7. according to the method described in claim 6, it is characterized in that, the step for terminating test when until meeting termination condition Suddenly, further includes:
The testing time completed is recorded, terminates to test when the testing time of completion reaches preset value;Or
When reaching preset time between when tested, terminate test;Or
The number for recording test crash terminates test when the number of the test crash reaches preset times.
8. a kind of test device characterized by comprising
Generation module, for obtaining the first cycle tests and the second cycle tests, to generate target test mode;
Receiving module, into the target test mode, obtains the tune under the target test mode for receiving test instruction With ratio value and testing time;
Module is obtained, for determining corresponding target detection sequence according to the relationship of the calling ratio value and the testing time Column, the target detection sequence are the first cycle tests or the second cycle tests.
Test module, for being tested and being obtained test result according to determining target detection sequence, more according to test result New testing time continues to test according to updated testing time and the relationship for calling ratio value, until meeting knot Terminate to test when beam condition.
9. device according to claim 8, which is characterized in that the acquisition module further include:
Judging submodule, for judging whether the calling ratio value or the testing time are zero;
Cycle tests acquisition submodule, for when the calling ratio value or the testing time are zero, obtaining the first test Sequence is tested;Or
It is tested for when the calling ratio value and the testing time are not zero, obtaining the second cycle tests.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program is in computer When upper operation, so that the computer executes test method as described in claim 1.
CN201811573798.3A 2018-12-21 2018-12-21 Test method, test device and storage medium Active CN109684213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811573798.3A CN109684213B (en) 2018-12-21 2018-12-21 Test method, test device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811573798.3A CN109684213B (en) 2018-12-21 2018-12-21 Test method, test device and storage medium

Publications (2)

Publication Number Publication Date
CN109684213A true CN109684213A (en) 2019-04-26
CN109684213B CN109684213B (en) 2022-04-22

Family

ID=66188695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811573798.3A Active CN109684213B (en) 2018-12-21 2018-12-21 Test method, test device and storage medium

Country Status (1)

Country Link
CN (1) CN109684213B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727552A (en) * 2019-10-12 2020-01-24 深圳市元征科技股份有限公司 Equipment testing method, system, electronic equipment and storage medium
CN111260203A (en) * 2020-01-13 2020-06-09 联宝(合肥)电子科技有限公司 Data processing method and device, computer storage medium and electronic equipment
CN112286826A (en) * 2020-11-25 2021-01-29 惠州Tcl移动通信有限公司 VTS testing method, VTS testing device, storage medium and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063374A (en) * 2011-01-07 2011-05-18 南京大学 Method for selecting regression test case for clustering with semi-supervised information
CN104363324A (en) * 2014-11-20 2015-02-18 惠州Tcl移动通信有限公司 Method and system for carrying out automatic test on mobile phone mainboard
CN105653438A (en) * 2014-11-12 2016-06-08 成都鼎桥通信技术有限公司 Method and device for cross-process automated testing of Android device
US10067863B1 (en) * 2017-05-04 2018-09-04 Microsoft Technology Licensing, Llc Feature targeting of test automation lab machines

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063374A (en) * 2011-01-07 2011-05-18 南京大学 Method for selecting regression test case for clustering with semi-supervised information
CN105653438A (en) * 2014-11-12 2016-06-08 成都鼎桥通信技术有限公司 Method and device for cross-process automated testing of Android device
CN104363324A (en) * 2014-11-20 2015-02-18 惠州Tcl移动通信有限公司 Method and system for carrying out automatic test on mobile phone mainboard
US10067863B1 (en) * 2017-05-04 2018-09-04 Microsoft Technology Licensing, Llc Feature targeting of test automation lab machines

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
简小珠等: "计算机自适应测验的测试流程与测试技术", 《滁州职业技术学院学报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727552A (en) * 2019-10-12 2020-01-24 深圳市元征科技股份有限公司 Equipment testing method, system, electronic equipment and storage medium
CN110727552B (en) * 2019-10-12 2023-10-31 深圳市元征科技股份有限公司 Equipment testing method, system, electronic equipment and storage medium
CN111260203A (en) * 2020-01-13 2020-06-09 联宝(合肥)电子科技有限公司 Data processing method and device, computer storage medium and electronic equipment
CN111260203B (en) * 2020-01-13 2022-06-10 联宝(合肥)电子科技有限公司 Data processing method and device, computer storage medium and electronic equipment
CN112286826A (en) * 2020-11-25 2021-01-29 惠州Tcl移动通信有限公司 VTS testing method, VTS testing device, storage medium and computer equipment
CN112286826B (en) * 2020-11-25 2024-04-09 惠州Tcl移动通信有限公司 VTS test method and device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN109684213B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
US8250543B2 (en) Software tracing
TW201941058A (en) Anomaly detection method and device
CN105630686A (en) Traversal testing method and device for applications and mobile terminal
CN111026645B (en) User interface automatic test method and device, storage medium and electronic equipment
RU2767143C2 (en) Decision-making control using machine learning in case of alerts coming from current control systems
CN109684213A (en) A kind of test method, device and storage medium
CN109633351B (en) Intelligent IT operation and maintenance fault positioning method, device, equipment and readable storage medium
CN106326120B (en) Regression testing method and device for application software and electronic equipment
CN108959067B (en) Method and device for testing search engine and computer readable storage medium
CN111475381B (en) Page rendering detection method and device
JP2008508597A (en) Help utility application program
CN109726830A (en) Equipment routing inspection method, apparatus, electronic equipment and storage medium
CN110032505A (en) Software quality determining device, software quality determine that method and software quality determine program
CN108874649A (en) Generation method, device and its computer equipment of automatic test script
CN106557308A (en) A kind of software continuous integrated approach and device
CN111199146A (en) Test report generation method and device, computer equipment and storage medium
CN111694735A (en) Page performance testing method and device, electronic equipment and storage medium
JP2009277110A (en) Software test/development support device, and program for device
CN110334019A (en) A kind of test method, device and readable storage medium storing program for executing
CN114328180A (en) Interface automation test method, system, electronic equipment and storage medium
CN115203050A (en) Method and device for determining dependency relationship of services
CN106970869A (en) The method of pressure test, apparatus and system
CN113900926A (en) Batch test method, system and medium for test cases
CN107885649A (en) The performance test methods and device of IOS application programs
CN112948188A (en) Log file screening method, system and medium

Legal Events

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