CN103605612A - Method for rapidly selecting automatic test case - Google Patents

Method for rapidly selecting automatic test case Download PDF

Info

Publication number
CN103605612A
CN103605612A CN201310666326.3A CN201310666326A CN103605612A CN 103605612 A CN103605612 A CN 103605612A CN 201310666326 A CN201310666326 A CN 201310666326A CN 103605612 A CN103605612 A CN 103605612A
Authority
CN
China
Prior art keywords
case
module
test
test case
operand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310666326.3A
Other languages
Chinese (zh)
Inventor
郭静
赵霞
张新玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201310666326.3A priority Critical patent/CN103605612A/en
Publication of CN103605612A publication Critical patent/CN103605612A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for rapidly selecting an automatic test case. The method comprises the following steps: dividing software into a common module and a core module; determining an automation ratio of the two modules; determining the complexity of the test case; adjusting the test case and determining the selection of the test case; selecting the test case with the low complexity by the core module and selecting the test case with the high complexity by the common module. With the adoption of the technology, the use case for an automatic test can be selected rapidly and the scientificity and the comprehensiveness of the automatic selection of the test case are improved; the automatic testing script maintenance cost and the labor cost are reduced and the success rate of the automatic test is improved.

Description

A kind of method of fast selected automatic test cases
Technical field
The present invention relates to automatic test field, be specifically related to a kind of method of fast selected automatic test cases, by general module and the nucleus module of rational division software, according to the selection percentage of test case and complexity, select and can effectively carry out the use-case of automatic test fast, reduce the cost of automatic test.
Technical background
In software test, make rapid progress today of development, automatic test is becoming trend of attracting attention very much and the trend in software test field.Along with to the attention of software quality, the expansion of software systems scale and the raising of complicacy, a lot of software companys or at enterprise's test team's internal implementation software automated testing flow process and framework, the while is the important skill index of measurement and feedback on performance using robotization technical ability as the talent also.
But due to reasons such as quick variation, the test case selection of tested program is improper, framework is unreliable, Script Programming problems, automatic test project is difficult to obtain successfully.Analyze the root of these problems, we can see, automatic test must progressively launch stage by stage, and can not be confined to certain stage, complete automatic test.At the beginning of robotization starts, reasonably select test case to play vital effect to the success or failure of automatic test.
A kind of method of fast selected automatic test cases is proposed for this reason, for selecting automatic test cases that certain principle and normative reference is provided, the software engineer's experience that only relies on substituting is in the past write the method for test case, improve science and validity that test case is selected, improve the success ratio of automatic test.
Summary of the invention
The technical problem to be solved in the present invention is:, automatic test cases low to robotization success ratio selected to lack science and matter of principle, proposes a kind of method of fast selected automatic test cases.
The technical solution adopted in the present invention is:
A method for fast selected automatic test cases, described method step is as follows:
1) wish framework is fixed, demand being stable is introduced the tested software of automatic test, technical and importance according to module is divided into general module and nucleus module, and wherein, general module is general business support generic module, nucleus module is important technical support generic module
2) determine the robotization ratio of two generic modules;
3) determine the complexity of test case, operand and checkpoint that the complexity of test case comprises by assessment use-case are determined, concrete computing method as shown in Figure 1, operand is less than 5 and check and to count that to be less than 5 use-case be simple use-case, operand be greater than 5 be less than 10 and checkpoint number to be greater than 5 use-case be complicated use-case, in order to reduce the maintenance cost of automatized script, the operand of not advising use-case be greater than 15 or operand be less than 5.
4) adjust test case complexity, for the method for adjustment of test case complexity, have: split test case, merge test case;
5) selection of test case, nucleus module is selected the low test case of complexity, and general module is selected the high use-case of complexity.
The robotization ratio of described two generic modules, at the Test Sample Design initial stage, the 30%(that general module automatic test cases accounts for total general module use-case is that percent of automatization is 30%); Nucleus module full automation (the automatic test rate that is nucleus module is 100%).
Described adjustment test case complexity, for general module, is all less than 5 if operand and inspection are counted, suitable merging use-case; If counting, operand and inspection be all greater than 15, suitable fractionation use-case; For nucleus module, if counting, operand and inspection be all less than 3, suitable merging use-case; If counting, operand and inspection be all greater than 5, suitable fractionation use-case.
Beneficial effect of the present invention is:
The present invention is the use-case of selected automatic test fast, and the science of raising robotization case selection and comprehensive, reduces automatic test script maintenance cost and cost of labor, improves automatic test success ratio.
Accompanying drawing explanation
Fig. 1 is the complicated kilsyth basalt of use-case of the present invention;
Fig. 2 is realization flow figure of the present invention.
Embodiment
With reference to the accompanying drawings, the automatic test of sea of clouds system of take is example, and the present invention will be described in conjunction with the embodiments:
As shown in Figure 2, a kind of driving license management method based on cloud computing platform, specific implementation flow process is as follows:
1,, at the beginning of robotization starts, first to determine that this sea of clouds system architecture, demand tend towards stability, and are suitable for introducing automatic test;
2, at the beginning of automatic test, partition functionality module is general module and nucleus module, for example: user management, service management are general module; Virtual Machine Manager, cloud resource management are nucleus module;
The test case of the general module such as 3, synthetic user management, service management, according to stability and importance, select 30% use-case, the complexity of judgement use-case (operand & checks and counts), is all less than 5 if operand and inspection are counted, suitable merging use-case; If counting, operand and inspection be all greater than 15, suitable fractionation use-case;
4, the use-case for nucleus module needs whole robotizations, adjusts the complexity (operand & checks and counts) of use-case, is all less than 3, suitable merging use-case if operand and inspection are counted; If counting, operand and inspection be all greater than 5, suitable fractionation use-case;
5, general module is selected complicated use-case, and nucleus module is selected simple use-case, is combined as and covers automatic test cases core business process, that easily be automated, maintenance cost is low.

Claims (3)

1. a method for fast selected automatic test cases, is characterized in that, described method step is as follows:
1) wish framework is fixed, demand being stable is introduced the tested software of automatic test, technical and importance according to module is divided into general module and nucleus module, and wherein, general module is general business support generic module, nucleus module is important technical support generic module
2) determine the robotization ratio of two generic modules;
3) determine the complexity of test case, operand and checkpoint that the complexity of test case comprises by assessment use-case are determined, operand is less than 5 and check and to count that to be less than 5 use-case be simple use-case, operand be greater than 5 be less than 10 and checkpoint number to be greater than 5 use-case be complicated use-case;
4) adjust test case, for the method for adjustment of test case complexity, have: split test case, merge test case;
5) selection of test case, nucleus module is selected the low test case of complexity, and general module is selected the high use-case of complexity.
2. a kind of fast method of selected automatic test cases according to claim 1, is characterized in that: the robotization ratio of described two generic modules, and at the Test Sample Design initial stage, general module automatic test cases accounts for 30% of total general module use-case; Nucleus module full automation.
3. the method for a kind of fast selected automatic test cases according to claim 1 and 2, is characterized in that: described adjustment test case complexity, for general module, is all less than 5 if operand and inspection are counted, suitable merging use-case; If counting, operand and inspection be all greater than 15, suitable fractionation use-case; For nucleus module, if counting, operand and inspection be all less than 3, suitable merging use-case; If counting, operand and inspection be all greater than 5, suitable fractionation use-case.
CN201310666326.3A 2013-12-10 2013-12-10 Method for rapidly selecting automatic test case Pending CN103605612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310666326.3A CN103605612A (en) 2013-12-10 2013-12-10 Method for rapidly selecting automatic test case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310666326.3A CN103605612A (en) 2013-12-10 2013-12-10 Method for rapidly selecting automatic test case

Publications (1)

Publication Number Publication Date
CN103605612A true CN103605612A (en) 2014-02-26

Family

ID=50123841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310666326.3A Pending CN103605612A (en) 2013-12-10 2013-12-10 Method for rapidly selecting automatic test case

Country Status (1)

Country Link
CN (1) CN103605612A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302720A (en) * 2015-10-27 2016-02-03 浪潮电子信息产业股份有限公司 Software regression test case screening method
US10223245B1 (en) 2016-05-27 2019-03-05 Amdocs Development Limited System, method, and computer program for identifying tests to automate in a software testing project
CN111897722A (en) * 2020-07-15 2020-11-06 重庆紫光华山智安科技有限公司 Automatic test case processing method and device, server and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302720A (en) * 2015-10-27 2016-02-03 浪潮电子信息产业股份有限公司 Software regression test case screening method
US10223245B1 (en) 2016-05-27 2019-03-05 Amdocs Development Limited System, method, and computer program for identifying tests to automate in a software testing project
CN111897722A (en) * 2020-07-15 2020-11-06 重庆紫光华山智安科技有限公司 Automatic test case processing method and device, server and storage medium

Similar Documents

Publication Publication Date Title
CN102360331B (en) Test program automatic generation method based on formal description
CN104375912B (en) The measuring method and device of mobile terminal interim card
CN102662833B (en) Method for managing test cases
US9466087B2 (en) Meter data management testing
CN110377520B (en) Transaction scenario testing method and device, electronic equipment and readable storage medium
US20160189066A1 (en) Method and system for automatic evaluation of robustness and disruption management for commercial airline flight operations
CN104850479A (en) FIO-based hard disk automatic testing method
CN106649127A (en) Automatic testing method and model suitable for software agile development
CN103984612A (en) Unattended pressure testing method based on HPL tool
CN102222042A (en) Automatic software testing method based on cloud computing
CN104915902A (en) Cloud platform based implementation method for take-out order online delivery
CN103605612A (en) Method for rapidly selecting automatic test case
CN110471857A (en) The automatic test approach and device of artificial intelligence model performance capability
CN103761595A (en) Business process monitoring method and apparatus in ERP system
CN106648897A (en) SOLR cluster extension method and system supporting resource balancing
CN102955739B (en) A kind of method improving performance test script reuse rate
CN105279092A (en) Software testing method and apparatus
CN103336257B (en) WAT test system and method
CN114511235A (en) Process evaluation method and system
CN110134598B (en) Batch processing method, device and system
CN103078952A (en) Automatic deployment method for cloud resources at cloud resource tenant end
CN104268713A (en) Performance assessment computing method and system
CN104461832B (en) A kind of method and device for monitoring application server resource
US9530112B2 (en) Common conditions for past projects as evidence for success causes
CN106445812A (en) Regression test system and regression test method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140226

RJ01 Rejection of invention patent application after publication