CN103077109B - A kind of test plan dispatching method and system - Google Patents

A kind of test plan dispatching method and system Download PDF

Info

Publication number
CN103077109B
CN103077109B CN200910239057.6A CN200910239057A CN103077109B CN 103077109 B CN103077109 B CN 103077109B CN 200910239057 A CN200910239057 A CN 200910239057A CN 103077109 B CN103077109 B CN 103077109B
Authority
CN
China
Prior art keywords
test
plan
automatic
file
manual
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
Application number
CN200910239057.6A
Other languages
Chinese (zh)
Other versions
CN103077109A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910239057.6A priority Critical patent/CN103077109B/en
Publication of CN103077109A publication Critical patent/CN103077109A/en
Application granted granted Critical
Publication of CN103077109B publication Critical patent/CN103077109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a kind of test plan dispatching method and system, test dispatching system generates test plan according to testing requirement, and above-mentioned test plan is resolved into manual test plan and automatic test plan; Above-mentioned manual test plan is uploaded to manual test system, above-mentioned automatic test plan is uploaded to automatization test system, test; After test finishes, from above-mentioned manual test system and above-mentioned automatization test system, read and gather test result, reporting test and management system. The present invention has simplified tester's operation, has improved test job efficiency.

Description

A kind of test plan dispatching method and system
Technical field
The present invention relates to software test field, relate in particular to a kind of test plan dispatching method and system.
Background technology
Software test is meticulously to establish according to the internal structure of the specification in each stage of software development and programCount a collection of test case, and utilize these test case operating softwares, with the mistake of finding that software exists.
Test plan is the file that is used for controlling test process of formulating according to testing requirement, and it has been described and has wantedTest specification, method, resource and the progress etc. of carrying out. It determines test item, tested functional characteristic, surveyTrial is engaged in, who executes the task, various possible risk.
Because software test is directly connected to software product quality, test job is at a Software DevelopmentIn process, more and more come into one's own, along with the increase of test assignment and reaching its maturity of test case, fromMovingization test is arisen at the historic moment, and its appearance greatly reduces manual test, by most software test personMember has liberated out from repeated manual test, has improved software test execution efficiency.
The test script simulation test use-case that automatic test refers generally to work out by executive language is manualThe process of testing procedure logging test results. A common test case can be one or more by scriptThe automatic test script of language compilation is realized. For better bringing into play automatic test advantage, effectively profitWith test resource and saving testing time, conventionally can adopt automatic test plan to realize multiple test wrappersThe uninterrupted execution of multiple test scripts under border.
Test environment refer to software systems carry out each class testing based on soft and hardware equipment and configuration, oneAs comprise hardware environment, network environment, operating system environment, applied server platform environment, databaseEnvironment and various back-up environments etc.
As shown in Figure 1, be software testing system block diagram of the prior art, comprise test and management system 100,Automatization test system 200 and manual test system 300; Wherein
Test and management system 100 manages each system of test, comprises demand management, test plan,Test execution, the functions such as the maintenance of resource management, error tracking and test case and test plan, areConventional auxiliary testing tool. As shown in Figure 1, be the theory diagram of the test and management system in Fig. 1, surveyExamination management system 100 comprises test case library 101 and test plan storehouse 102; Test case library 101 is for depositingPut test case file, test case file comprises test execution time S013 and test case contentS014, wherein, test execution time S013 refers to manual this test case required average time of completing;Test case content S014 comprises testing procedure and test result etc.; Test plan storehouse 102 is for depositing surveyExamination project documentation, test plan file comprises project label S021, test environment S022, tester S023And test item S024; Test item S024 comprises test case implementation status S0241, test case execution noteRecord S0242, test case execution result S0243 and test case file S2044.
Automatization test system 200, for carrying out automatic test, as shown in Figure 2, is that in Fig. 1, automation is surveyedThe theory diagram of test system, automatization test system 200 comprises automatic test script storehouse 201, automationTest environment storehouse 202 and automatic test plan storehouse 203; Automatic test script storehouse 201 is for depositing certainlyMovingization test script file, automatic test script file comprises time of implementation S112, automated execution stepRapid S114; Automatic test enviroline 202 is for depositing automatic test environment file, automatic test ringBorder file is used for recording automation projects mark S221 and available testing equipment information S222; Automatic testPlan storehouse 203 is for depositing automatic test project documentation, and automatic test project documentation is used for nominative testingPlan required test environment file S331 and test script file S332 corresponding to above-mentioned test environment fileCarry out duration S333 with expectation.
Manual test system 300 is for depositing the calculated test case of manual test, and tester is by testUse-case step is carried out test, logging test results and test case time of implementation.
May there is following situation in the previous test process of order:
1, do not distinguish automatic test and manual test. By test and management system 100 according to testing requirementFormulate complete test plan, tester is in the time carrying out own responsible content measurement, by automationTest macro 200, selects the test case that in test plan, available automatization test system 200 is carried out,Create automatic test plan and carry out, finally test result is turned back in test and management system 100.
2, test plan is divided into automatic test and manual test two parts, can passes through automatically allThe test case that change test macro 200 is carried out is aggregated under a sub-test plan, by the test person of specifyingMember creates automatic test plan, and test result is returned to test in automatization test system 200Management system 100.
Above-mentioned two kinds of methods exist following not enough in actual application:
1, in the time not distinguishing automatic test and manual test, because automatic test and manual test can be alsoRow is carried out, and carries out the automatization test system 200 and the manual test system that carries out manual test of automatic testSystem 300 is unrelated again, while formulating test plan, is difficult to assessment test required time, cannot effectively controlTesting progress processed and reasonable distribution test environment.
2, in the time distinguishing automatic test and manual test, because test case is generally a kind of universal method,And test script can be realized for the method for a certain detailed programs, and automatic test script and testUse-case is all in a kind of state progressively upgrading. Therefore, manually carry out the screening of automatic test cases,Both increase the complexity of test plan design, made again the test case of automatic test and manual testSufficiently complete, be unfavorable for assessment and the comparison of test result.
3, test and management system 100 can only be used for controlling total test plan, and automatization test system 200The independent automation part of carrying out test plan is separately independently although these two systems have correlationSystem, no matter be in the selection of test script or the formulation of automatic test plan, execution, does not all haveThere is a platform to unify control to the automatic test in test plan and manual test two individual systemSystem, has increased test plan management and the difficulty of carrying out.
At present, these problems also do not have effective solution.
Summary of the invention
One of object of the present invention is to provide a kind of test plan dispatching method and system, to overcome existing skillControl cannot unifying of existing in art test plan and be difficult to accurate evaluation test execution time and allocation for testThe defect of resource; The present invention has simplified tester's operation, has improved test job efficiency.
The present invention proposes a kind of test plan dispatching method,
Test dispatching system generates test plan according to testing requirement, and above-mentioned test plan is resolved into handWork test plan and automatic test plan;
Above-mentioned manual test plan is uploaded to manual test system, above-mentioned automatic test plan is uploadedTo automatization test system, test;
After test finishes, from above-mentioned manual test system and above-mentioned automatization test system, read and gatherTest result, reports test and management system.
Preferably, above-mentioned test dispatching system, before generation test plan, is also carried out following operation:
By associated automatic test script file and corresponding test case file, for above-mentioned automation is surveyedTraining presents adds project label list and corresponding test case; For above-mentioned test case file addsAutomation mark and corresponding test script path.
Preferably, above-mentioned test dispatching system specifically comprises according to testing requirement generation test plan step:
Create test plan;
In the test case library of above-mentioned test and management system, searching the test relevant to this testing requirement usesExample text part;
For above-mentioned test plan allocation for test environment;
For each test environment allocation for test personnel;
For above-mentioned tester's allocation for test use-case file;
Above-mentioned test plan is uploaded in the test plan storehouse of above-mentioned test and management system;
From above-mentioned test and management system, derive test plan file.
Preferably, above-mentionedly test plan is resolved into manual test plan and automatic test plan is specifically wrappedDraw together:
S01: according to the attribute information of the test case file in above-mentioned test plan file, above-mentioned automaticIn the automatic test script storehouse of change test macro, extract corresponding automatic test script file, generate handWork test plan;
S02: calculating the manual test case file expected time under each test environment, is above-mentioned manual surveyTester's allocation for test environment use time of examination plan;
S03: according to above-mentioned automatic test script file, generate automatic test plan, and calculate automaticallyChange the expected time of test script file, for above-mentioned automatic test plan arranges test initial time.
Preferably, above-mentioned S01 step specifically comprises:
S011: search the test case file with automation mark in above-mentioned test plan file;
S012: according to the test script path of above-mentioned test case file, at above-mentioned automatization test systemAutomatic test script storehouse in search and extract corresponding automatic test script file;
S013: choose this and test required automatic test pin from above-mentioned automatic test script filePresents;
S014: remove in above-mentioned test plan file can automatic test test case file, generate handWork test plan.
Preferably, above-mentioned S03 step specifically comprises:
S031: create automatic test plan;
S032: for above-mentioned automatic test plan creates automatic test environment file;
S033: be above-mentioned automatic test environment file allocation for test environment, and be saved in above-mentioned fromIn the automatic test enviroline of movingization test macro;
S034: for above-mentioned automatic test environment file is added under above-mentioned test environment executable automaticChange test script file;
S035: calculate the expected time of above-mentioned automatic test script file under above-mentioned test environment;
S036: judge whether above-mentioned automatic test plan also has other test environment to need to add, if so,Proceeding to S0032 carries out; Otherwise, carry out S037;
S037: for above-mentioned automatic test plan arranges test initial time;
S038: other automatic test plan in addition that judges whether needs to add, and if so, proceeds to S031Carry out; Otherwise automatic test plan generates and finishes.
Preferably, after above-mentioned steps S038, above-mentioned test dispatching system is also carried out following operation:
Check the test initial time of above-mentioned automatic test plan and the test wrapper of above-mentioned manual test planWhether border use time is distributed reasonable, if unreasonable, redistributes.
Preferably, the test initial time of above-mentioned automatic test plan is by above-mentioned test dispatching system monitoring,If the time arrives, above-mentioned test dispatching system issues test command to above-mentioned automatization test system, above-mentionedAfter receiving orders, automatization test system starts test.
The present invention has also proposed a kind of test plan dispatching patcher based on the above method, comprises testManagement system, manual test system, Auto-Test System, test environment system, said system also comprisesTest dispatching system, for generating test plan; The test plan of above-mentioned generation is resolved into manual testPlan and automatic test plan are also uploaded to above-mentioned manual test system and above-mentioned automatization test system;For reading from above-mentioned manual test system and above-mentioned automatization test system and gathering execution result, onOffer above-mentioned test and management system.
Preferably, above-mentioned test dispatching system is also for the above-mentioned automatization test system automatic test of associationCorresponding test in test script file in script storehouse and above-mentioned test and management system test case library is usedExample text part.
Preferably, above-mentioned test dispatching system comprise test plan administration module, test script management module,Test result administration module,
Above-mentioned test plan administration module, for generating test plan; Above-mentioned test plan is resolved into handWork test plan and automatic test plan are also uploaded to above-mentioned manual test system and above-mentioned automatic testSystem;
Above-mentioned test script management module, for the above-mentioned automatization test system automatic test script of associationCorresponding test case literary composition in test script file in storehouse and above-mentioned test and management system test case libraryPart:
Above-mentioned test result administration module, for from above-mentioned manual test system and above-mentioned automatic test beingIn system, read and gather execution result, reporting above-mentioned test and management system.
Preferably, above-mentioned test dispatching system also comprises testing time administration module, test environment management mouldPiece,
Above-mentioned test plan administration module, for creating test plan; Search test case file; DistributeTest environment, tester and test case file; Upload above-mentioned test plan to above-mentioned test and managementSystem; From above-mentioned test and management system, derive test plan file; Search the survey with automation markExample text part on probation; Extract automatic test script file; Generate automatic test plan and manual test meterDraw; Above-mentioned manual test plan is uploaded to above-mentioned manual test system, by above-mentioned automatic test planBe uploaded to above-mentioned automatization test system;
Above-mentioned test script management module, is used to above-mentioned automatization test system automatic test script storehouseIn automatic test script file add project label list and corresponding test case; For above-mentioned testTest case file in management system test case library adds automation mark and corresponding test script roadFootpath;
Above-mentioned testing time administration module, for calculating test case file and automatic test script fileComplete a time of implementation that test is required; Calculate the above-mentioned manual test use-case file expected time;For manual test allocation for test environment use time; When the expectation of calculation automation test script file is carried outBetween; For automatic test arranges test initial time; Monitor whether above-mentioned initial time arrives; Issue surveyExamination order is to above-mentioned automatization test system;
Above-mentioned test environment administration module, is used to test plan allocation for test environment; For automatic testPlan creates automatic test environment file allocation for test environment, and by above-mentioned automatic test environmentFile is saved in the automatic test enviroline of above-mentioned automatization test system.
The present invention can unify to control to test plan, makes to formulate the initial stage at test plan, both can lead toCross the automatic screening of test script and the unified allocation of resources of test environment, complete the establishment of automatic test plan,Make test plan can more effectively control testing progress, reasonable distribution test environment, simplifies test personMember's operation and then raising test job efficiency.
Brief description of the drawings
Fig. 1 is software testing system block diagram in prior art;
Fig. 2 is the theory diagram of the test and management system in Fig. 1;
Fig. 3 is the theory diagram of the automatization test system in Fig. 1;
Fig. 4 is the first embodiment theory diagram of system of the present invention;
Fig. 5 is the inside theory diagram of the test dispatching system in Fig. 4;
Fig. 6 is automatic test script file structure schematic diagram in the present invention;
Fig. 7 is test case file structural representation in the present invention;
Fig. 8 is the flow chart of first embodiment of the method for the invention;
Fig. 9 is the first embodiment flow chart of S801 in Fig. 8;
Figure 10 is the first embodiment flow chart of S802 in Fig. 8;
Figure 11 is the structural representation of manual test plan and automatic test plan.
Realization, functional characteristics and the advantage of the object of the invention, in connection with embodiment, are done further with reference to accompanying drawingExplanation.
Detailed description of the invention
The present invention controls test plan and is difficult to accurately comment in order to overcome cannot unifying of existing in prior artThe defect of estimation examination time of implementation and allocation for test resource, by increasing test dispatching system, to all surveysExamination manages and controls.
As shown in Figure 4, be the first embodiment theory diagram of system of the present invention, comprise test and managementSystem 100, automatization test system 200, manual test system 300 and test dispatching system 400;Wherein, above-mentioned test and management system 100, automatization test system 200, manual test system 300 are for existingSome systems, its function, referring to the description in background technology, is no longer repeated here; Above-mentioned test dispatching isSystem 400 is cores of system of the present invention, for generating test plan; By the tester of above-mentioned generationDraw and resolve into manual test plan and automatic test plan and be uploaded to above-mentioned manual test system 300 HesAbove-mentioned automatization test system 200; For from above-mentioned manual test system 300 and above-mentioned automatic test beingIn system 200, read and gather execution result, reporting above-mentioned test and management system 100; Its inner principle frameFigure is referring to Fig. 5.
As shown in Figure 5, be the inside theory diagram of test dispatching system in Fig. 4, comprise test planAdministration module 401, test script management module 402, testing time administration module 403, test environment pipeReason module 404, test result administration module 405, wherein:
Test plan administration module 401, for generating test plan; Above-mentioned test plan is resolved into craftTest plan and automatic test plan; Be specially: determine testing requirement, create test plan; SearchTest case file; Allocation for test environment, tester and test case file; By above-mentioned testerDraw and upload to above-mentioned test and management system 100; From above-mentioned test and management system 100, derive test plan literary compositionPart; Search the test case file with automation mark; Search automatic test script file; GenerateAutomatic test plan and manual test plan; Above-mentioned manual test plan is uploaded to above-mentioned manual testSystem 300, is uploaded to above-mentioned automatization test system 200 by above-mentioned automatic test plan;
Test script management module 402, for the above-mentioned automatization test system 200 automatic test pin of associationTest case literary composition in test script file in this storehouse and above-mentioned test and management system 100 test case librariesPart; Be used to the automatic test script file in above-mentioned automatization test system automatic test script storehouseAdd project label list and corresponding test case, added project label list and corresponding test useExample attribute is that automatic test script file structure is referring to Fig. 6; For above-mentioned test and management system test case libraryIn test case file add automation mark and corresponding test script path, added automation markKnow and the structure of the test case file of corresponding test script path attribute referring to Fig. 7;
Testing time administration module 403, for calculating test case file and automatic test script file is completeBecome a time of implementation that test is required; Calculate the above-mentioned manual test use-case file expected time; ForManual test allocation for test environment use time; The expected time of calculation automation test script file;For automatic test arranges test initial time; Monitor whether above-mentioned initial time arrives; Issue test lifeOrder is to above-mentioned automatization test system 200;
Test environment administration module 404, is used to test plan allocation for test environment; For automatic test meterDraw and create automatic test environment file allocation for test environment, and by above-mentioned automatic test environment literary compositionPart is saved in the automatic test enviroline of above-mentioned automatization test system 200;
Test result management 405, for from above-mentioned manual test system 300 and above-mentioned automatization test systemIn 200, read and gather execution result, reporting above-mentioned test and management system 100.
As shown in Figure 6, be automatic test script file structure schematic diagram in the present invention, not only comprise and holdingLine time S112 and automated execution step S114, also comprise project label list S111 and automation surveyThis corresponding test case name S113 of training.
As shown in Figure 7, be test case file structural representation in the present invention, above-mentioned test case fileNot only comprise test execution time S013 and test case content S014, also comprise automation mark S011With test script path S012, wherein, it is right whether automation mark S011 has for this test case of markThe automatic test script of answering; Test script path S012 is used for indicating above-mentioned automatic test script at oneselfPosition in movingization test macro.
As shown in Figure 8, be the flow chart of first embodiment of the method for the invention; In the present embodiment, supposeBy associated automatic test script file and corresponding test case file, and be automation surveyTraining presents adds project label list and corresponding test case; For test case file adds automaticallyChange mark and corresponding test script path, specifically comprise the steps:
S801: test dispatching system 400 generates test plan according to testing requirement;
S802: above-mentioned test plan is resolved into manual test plan and automatic test plan;
S803: above-mentioned manual test plan is uploaded to manual test system 300, by above-mentioned automatic testPlan is uploaded to automatization test system 200;
S804: tester carries out manual test, automatization test system 200 receives after test command,Carry out automatic test;
S805: after test finishes, from above-mentioned manual test system 300 and above-mentioned automatization test system 200In read and gather test result, report test and management system 100.
As shown in Figure 9, be the first embodiment flow chart of S801 in Fig. 8, comprise the steps:
S8011: determine testing requirement, create test plan;
Above-mentioned testing requirement comprises content measurement and test event etc. and test relevant information.
S8012 searches to this and tests relevant test in the test case library of test and management system 100Use-case file;
S8013: according to above-mentioned definite testing requirement and test resource situation, for above-mentioned test plan distributesTest environment;
Test environment can be regarded the subdirectory of test plan as, and test plan likely has multiple test environments,Determine as the case may be.
S8014: be each test environment allocation for test personnel;
Tester can regard the subdirectory of chamber test environment as.
S8015: for tester's allocation for test use-case file, by the above-mentioned test case file findingDistribute to above-mentioned tester;
The test case file relating to by this testing requirement, distributes to corresponding tester's, pointDispensing tester's test case can be regarded tester's subdirectory as.
S8016: above-mentioned test plan is uploaded in the test plan storehouse of above-mentioned test and management system 100;
S8017: derive test plan file from above-mentioned test and management system.
As shown in figure 10, be the first embodiment flow chart of S802 in Fig. 8, comprise the steps:
S80201: the automatic test project label of setting this test;
S80202: search the test case with automation mark from the test plan file of above-mentioned derivationFile;
S80203: according to the test script path of the above-mentioned test case file finding, above-mentioned automaticIn the automatic test script storehouse of change test macro 200, search corresponding automatic test script file;
S80204: from above-mentioned automatic test script file, extract that this test plan need to use fromMovingization test script file;
S80205: remove in above-mentioned test plan can automatic test test case, generate manual testPlan;
S80206: according to the test execution time of each test case file of above-mentioned manual test plan, meterCount the expected time of stating manual test in;
S80207: according to the above-mentioned expected time, for the tester of above-mentioned manual test plan distributesTest environment use time;
S80208: create automatic test plan;
S80209: for above-mentioned automatic test plan creates automatic test environment file;
The filename acquiescence of above-mentioned automatic test environment file and the test environment of above-mentioned test plan fileName is consistent, the project label one of the project label of automatic test environment file and above-mentioned test plan fileCause.
S80210: be above-mentioned automatic test environment file allocation for test environment, and above-mentioned automation is surveyedExamination environment file is saved in the automatic test enviroline of above-mentioned automatization test system 200;
S80211: for above-mentioned automatic test environment file be added under above-mentioned test environment executable fromMovingization test script file;
S80212: calculate the expectation of above-mentioned automatic test script file under above-mentioned test environment while carrying outBetween;
S80213: judge whether above-mentioned automatic test plan also has other test environment to need to increase, ifBe, continue as it and add next test environment, proceed to S80209 and carry out; Otherwise, carry out S80214;
S80214: for above-mentioned automatic test plan arranges test initial time;
In this step, test dispatching system 400 can according to manual test in the works each test case distributePot life, adjusts automatic test script quantity, makes test within the time period of distributing, hold as far as possibleGo.
S80215: other automatic test plan in addition that judges whether needs to increase, and if so, continues to addAdd next automatic test plan, proceed to S80208 and carry out; Otherwise, carry out S80216;
S80216: check initial time of implementation and the above-mentioned manual test plan of above-mentioned automatic test planUse time distribute whether reasonable, if so, carry out S80218; Otherwise, carry out S80217;
In this step, under normal circumstances, if automatic test and manual test are carried out and are not had under test environmentBetween time conflict, automatic test and manual test, there is no a large amount of environment idle periods, think the timeDistribute rationally;
S80217: initial time of implementation and the above-mentioned manual test of redistributing above-mentioned automatic test planThe use time of plan;
Above-mentioned redistributing comprises: the environment use time to manual test and automatic test re-startsAdjust, now can select S80207 according to situations such as concrete test prioritization, tester's task arrangesThe manual test environment time of middle distribution is adjusted or to the calculated survey pin of automatic test in S80211This quantity increases and decreases;
S80218: above-mentioned automatic test plan is uploaded to above-mentioned automatization test system 200.
So far, test plan is broken down into manual test plan and automatic test plan, as shown in figure 11,The structural representation of manual test plan and automatic test plan, wherein:
Manual test plan 901 comprises: test environment 911, test period 912, respectively test the survey of periodExamination personnel 913, tester's expected time 914 and test item 915;
Automatic test plan 902 comprises that (the present embodiment comprises automation in multiple automatic test plansTest plan A and automatic test plan B) 921, test environment 922, automatic test script file923, estimate testing time 924 and test initial time 925.
Test plan is decomposed into after manual test plan 901 and 902 liang of parts of automatic test plan,Manual test plan 901 is by tester's engaged test environment within the period of distributing, implementation of test casesAnd test result is recorded in manual test system 300; Automatic test plan 902 is by test dispatchingSystem 400 issues test to automatization test system 200 in the time that automatic test initial time 925 arrivesOrder, completes test logging test results by automatization test system 200.
After test execution completes, test dispatching system 400 is from manual test system 300 and automatic testIn system 200, read and gather whole test results, then the test result gathering being reported to testing tubeIn the test plan file of reason system 100.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, everyUtilize equivalent structure or the conversion of equivalent flow process that description of the present invention and accompanying drawing content do, or directly orConnect and be used in other relevant technical fields, include in scope of patent protection of the present invention.

Claims (10)

1. a test plan dispatching method, is characterized in that,
Test dispatching system generates test plan according to testing requirement, and described test plan is resolved into manual test plan and automatic test plan;
Described manual test plan is uploaded to manual test system, described automatic test plan is uploaded to automatization test system, test;
After test finishes, from described manual test system and described automatization test system, read and gather test result, reporting test and management system;
Described test dispatching system, before generation test plan, is also carried out following operation:
By associated automatic test script file and corresponding test case file, for described automatic test script file adds project label list and corresponding test case; For described test case file adds automation mark and corresponding test script path.
2. the method for claim 1, is characterized in that, described test dispatching system generates test plan step according to testing requirement and specifically comprises:
Create test plan;
In the test case library of described test and management system, search the test case file relevant to this testing requirement;
For described test plan allocation for test environment;
For each test environment allocation for test personnel;
For described tester's allocation for test use-case file;
Described test plan is uploaded in the test plan storehouse of described test and management system;
From described test and management system, derive test plan file.
3. method as claimed in claim 1 or 2, is characterized in that, describedly test plan is resolved into manual test plan and automatic test plan specifically comprises:
S01: according to the attribute information of the test case file in described test plan file, extract corresponding automatic test script file in the automatic test script storehouse of described automatization test system, generate manual test plan;
S02: calculating the manual test case file expected time under each test environment, is tester's allocation for test environment use time of described manual test plan;
S03: according to described automatic test script file, generate automatic test plan, and the expected time of calculation automation test script file, for described automatic test plan arranges test initial time.
4. method as claimed in claim 3, is characterized in that, described S01 step specifically comprises:
S011: search the test case file with automation mark in described test plan file;
S012: according to the test script path of described test case file, search and extract corresponding automatic test script file in the automatic test script storehouse of described automatization test system;
S013: choose this and test required automatic test script file from described automatic test script file;
S014: remove in described test plan file can automatic test test case file, generate manual test plan.
5. method as claimed in claim 3, is characterized in that, described S03 step specifically comprises:
S031: create automatic test plan;
S032: for described automatic test plan creates automatic test environment file;
S033: be described automatic test environment file allocation for test environment, and be saved in the automatic test enviroline of described automatization test system;
S034: for described automatic test environment file is added on executable automatic test script file under described test environment;
S035: calculate the expected time of described automatic test script file under described test environment;
S036: judge that whether described automatic test plan also has other test environment to need to add, and if so, proceeds to S032 and carries out; Otherwise, carry out S037;
S037: for described automatic test plan arranges test initial time;
S038: other automatic test plan in addition that judges whether needs to add, and if so, proceeds to S031 and carries out; Otherwise automatic test plan generates and finishes.
6. method as claimed in claim 5, is characterized in that, after described step S038, described test dispatching system is also carried out following operation:
Check whether the test initial time of described automatic test plan and the distribution of the test environment use time of described manual test plan be reasonable, if unreasonable, redistributes.
7. method as claimed in claim 5, it is characterized in that, the test initial time of described automatic test plan is by described test dispatching system monitoring, if the time arrives, described test dispatching system issues test command to described automatization test system, starts test after described automatization test system receives orders.
8. a test plan dispatching patcher, comprises test and management system, manual test system, Auto-Test System, it is characterized in that, described system also comprises test dispatching system, for generating test plan; The test plan of described generation is resolved into manual test plan and automatic test plan and is uploaded to described manual test system and described automatization test system; For reading and gather execution result from described manual test system and described automatization test system, report described test and management system;
Described test dispatching system also for: the automatic test script file that is described automatization test system automatic test script storehouse adds project label list and corresponding test case; For the test case file in described test and management system test case library adds automation mark and corresponding test script path;
Described test dispatching system is also for the corresponding test case file in test script file and the described test and management system test case library in the described automatization test system automatic test script of association storehouse.
9. system as claimed in claim 8, is characterized in that, described test dispatching system comprises test plan administration module, test script management module, test result administration module,
Described test plan administration module, for generating test plan; Described test plan is resolved into manual test plan and automatic test plan and is uploaded to described manual test system and described automatization test system;
Described test script management module, for the corresponding test case file in test script file and the described test and management system test case library in the described automatization test system automatic test script of association storehouse;
Described test result administration module, for reading and gather execution result from described manual test system and described automatization test system, reports described test and management system.
10. system as claimed in claim 9, is characterized in that, described test dispatching system also comprises testing time administration module, test environment administration module,
Described test plan administration module, for creating test plan; Search test case file; Allocation for test environment, tester and test case file; Upload described test plan to described test and management system; From described test and management system, derive test plan file; Search the test case file with automation mark; Extract automatic test script file; Generate automatic test plan and manual test plan; Described manual test plan is uploaded to described manual test system, described automatic test plan is uploaded to described automatization test system;
Described test script management module, is used to the automatic test script file in described automatization test system automatic test script storehouse to add project label list and corresponding test case; For the test case file in described test and management system test case library adds automation mark and corresponding test script path;
Described testing time administration module, completes a time of implementation that test is required for calculating test case file and automatic test script file; Calculate the described manual test use-case file expected time; For manual test allocation for test environment use time; The expected time of calculation automation test script file; For automatic test arranges test initial time; Monitor whether described initial time arrives; Issue test command to described automatization test system;
Described test environment administration module, is used to test plan allocation for test environment; For automatic test plan creates automatic test environment file allocation for test environment, and described automatic test environment file is saved in the automatic test enviroline of described automatization test system.
CN200910239057.6A 2009-12-28 2009-12-28 A kind of test plan dispatching method and system Active CN103077109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910239057.6A CN103077109B (en) 2009-12-28 2009-12-28 A kind of test plan dispatching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910239057.6A CN103077109B (en) 2009-12-28 2009-12-28 A kind of test plan dispatching method and system

Publications (2)

Publication Number Publication Date
CN103077109A CN103077109A (en) 2013-05-01
CN103077109B true CN103077109B (en) 2016-05-25

Family

ID=48153642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910239057.6A Active CN103077109B (en) 2009-12-28 2009-12-28 A kind of test plan dispatching method and system

Country Status (1)

Country Link
CN (1) CN103077109B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530140A (en) * 2014-09-30 2016-04-27 中兴通讯股份有限公司 Cloud scheduling system, method and device for removing tight coupling of use case and environment
CN106874191B (en) * 2017-01-03 2020-07-14 深圳前海大数金融服务有限公司 Intelligent database execution method and system
CN107480066B (en) * 2017-08-18 2020-10-30 网易(杭州)网络有限公司 Code coverage rate statistical method, device, storage medium, processor and terminal
CN109491898B (en) * 2018-10-30 2021-11-12 武汉思普崚技术有限公司 Test efficiency improving method and equipment based on automatic test and case management
CN110134585A (en) * 2019-04-12 2019-08-16 平安普惠企业管理有限公司 System Test Plan generation method and terminal device
CN117520137A (en) * 2022-07-28 2024-02-06 中兴通讯股份有限公司 Tracking method of test progress, electronic device and computer readable medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329652A (en) * 2008-07-30 2008-12-24 中兴通讯股份有限公司 Regression test automatic system and method
CN101587345A (en) * 2009-05-12 2009-11-25 奇瑞汽车股份有限公司 Function test system for controller used in hybrid electric or electric vehicle

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7900089B2 (en) * 2006-06-12 2011-03-01 International Business Machines Corporation Method for creating error tolerant and adaptive graphical user interface test automation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329652A (en) * 2008-07-30 2008-12-24 中兴通讯股份有限公司 Regression test automatic system and method
CN101587345A (en) * 2009-05-12 2009-11-25 奇瑞汽车股份有限公司 Function test system for controller used in hybrid electric or electric vehicle

Also Published As

Publication number Publication date
CN103077109A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
CN103077109B (en) A kind of test plan dispatching method and system
CN104407971B (en) Method for automatically testing embedded software
CN100456191C (en) Satellite automatization test platform and test method
CN109726132A (en) A kind of method for testing software and software test automation management system
CN105718371B (en) A kind of regression testing method, apparatus and system
CN107562635A (en) Embedded software test accessory system
CN102141962A (en) Safety distributed test framework system and test method thereof
CN105760296B (en) Automatic test control method, device and terminal
CN107463362A (en) The method and system of lasting deployment based on multiple Jenkins
CN105138386A (en) Logic design verification continuous integration platform based on Jenkins and vManager
CN104991777A (en) System and method for implementing view development of Web application automatic testing
CN107193730A (en) A kind of interface test method of automation
CN103678124A (en) Video surveillance platform auto-test method and device based on continuous integrated environment
CN106294121B (en) The embedded real-time diagnosis reasoning algorithm test method of aircraft
CN110471857A (en) The automatic test approach and device of artificial intelligence model performance capability
CN109324978A (en) A kind of software testing management system of multi-person synergy
CN109272251A (en) A kind of management method of software test, device and equipment
CN106295808B (en) The embedded real-time diagnosis reasoning algorithm test method of aircraft
CN105653445B (en) A kind of implementation method for meeting DO 178C test results
CN105589804A (en) Process-driven test automation method and system
CN106201888A (en) Intelligent video overlap-add procedure device automatic test approach and device
Onoma et al. Practical steps toward quality development
CN116051070A (en) Ship maintenance progress management system
CN115994646A (en) Process management system for software development
KR20140055292A (en) System and method for relating between failed component and performance criteria of manintenance rule by using component database of functional importance determination of nuclear power plant

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant