CN108073518A - A kind of testing case management and device - Google Patents
A kind of testing case management and device Download PDFInfo
- Publication number
- CN108073518A CN108073518A CN201810070638.0A CN201810070638A CN108073518A CN 108073518 A CN108073518 A CN 108073518A CN 201810070638 A CN201810070638 A CN 201810070638A CN 108073518 A CN108073518 A CN 108073518A
- Authority
- CN
- China
- Prior art keywords
- test case
- tested
- module
- test
- bug
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Abstract
The invention discloses a kind of testing case management and devices, it is used as test case sample by extracting part test case from test case set storehouse, implementation of test cases sample simultaneously calculates the bug quantitative proportions that each module to be tested has found, the highest priority of module to be tested is determined according to bug quantitative proportions, optimal inspection use-case execution sequence, it tests and finds as early as possible the module to be tested of bug most serious, give developer's time enough reparation, improve the efficiency of test.
Description
Technical field
The present invention relates to computer software testing technical fields, particularly a kind of testing case management and device.
Background technology
Quickly, the code of submission is very more, mistakes and omissions just unavoidably occurs, causes bug's for software product update iteration speed
Occur, serious bug often brings very big harm.Software test is exactly that the work of reliability reference is provided to software,
Software quality is promoted, it is necessary to write substantial amounts of test case, and the testing time is limited in order to find more bug, therefore is needed
Bug is found faster and more within the limited time, so the priority of test case judges and execution sequence just seems
It is extremely important.
At present, the flow of software test is to write test case, and then implementation of test cases outputs test result.It performs
The order of test case is usually according to the suitable of the flow testing of system or QA Manager rule of thumb decision module test
Sequence.First way does not have the priority of discriminating module test case, it is more likely that it is important to measure last not enough time execution
Test case.And in second method the experience of QA Manager be sometimes it is unilateral, it is impossible to which Module defect understood well
Most most serious.
The content of the invention
To solve the above problems, it is an object of the invention to provide a kind of testing case management and device, by true
The serious die trials to be measured of bug are tested and found as early as possible to the highest priority of fixed module to be tested, optimal inspection use-case execution sequence
Block gives developer's time enough reparation, improves the efficiency of test.
Technical solution is used by the present invention solves the problems, such as it:
A kind of testing case management, comprises the following steps:
S1:The test case of all modules to be tested is combined to form test case set storehouse;
S2:Part test case is extracted from test case set storehouse as test case sample;
S3:Implementation of test cases sample;
S4:Calculate the bug quantitative proportions that each module to be tested has found;
S5:All surveys being not carried out of the highest module to be tested of bug quantitative proportions are extracted from test case set storehouse
Example on probation;
S6:Perform all test cases being not carried out of the highest module to be tested of bug quantitative proportions.
As being further improved for above-mentioned testing case management, the step S2 includes:
Test case quantitative proportion according to each module to be tested uniformly extracts part test case as test case
Sample;
Alternatively, part test case is extracted from test case set storehouse at random as test case sample.
As being further improved for above-mentioned testing case management, the step S4 includes:
Count the test case sum of bug quantity that each module to be tested has found divided by each module to be tested, meter
Calculate the bug quantitative proportions that each module to be tested has found.
As being further improved for above-mentioned testing case management, step S7 is further included:
When being only left a kind of test case of module to be tested in test case set storehouse, the module to be tested is performed
All test cases being not carried out, are completed, and export final result;
Otherwise step S2 is returned to.
A kind of test case management device, including:
Test case set storehouse, for storing the test case of all modules to be tested;
Extracting unit, for extracted from test case set storehouse part test case as test case sample or
All test cases being not carried out of the highest module to be tested of bug quantitative proportions are extracted from test case set storehouse;
Execution unit for the test case sample in implementation of test cases sample or performs bug quantitative proportion highests
Module to be tested all test cases being not carried out;
Computing unit calculates the bug quantitative proportions that each module to be tested has found.
As being further improved for above-mentioned test case management device, the extracting unit includes:
Test case sample extraction unit, for uniformly being extracted according to the test case quantitative proportion of each module to be tested
Partial test use-case extracts part test case as survey as test case sample or at random from test case set storehouse
Example sample on probation;
Highest priority test case extracting unit, it is highest for extracting bug quantitative proportions from test case set storehouse
All test cases being not carried out of module to be tested.
As being further improved for above-mentioned test case management device, the execution unit includes:
Test case sample execution unit, for the test case sample in implementation of test cases sample;
Highest priority test case execution unit, for performing all of the highest module to be tested of bug quantitative proportions
The test case being not carried out.
The beneficial effects of the invention are as follows:A kind of testing case management and device that the present invention uses, by from test
Part test case is extracted in use-case set storehouse as test case sample, implementation of test cases sample simultaneously calculates each to be tested
The bug quantitative proportions that module has found determine the highest priority of module to be tested, optimal inspection according to bug quantitative proportions
Use-case execution sequence is tested and is found as early as possible the module to be tested of bug most serious, give developer's time enough reparation, improves
The efficiency of test.
Description of the drawings
The invention will be further described with example below in conjunction with the accompanying drawings.
Fig. 1 is a kind of step flow chart of testing case management of the present invention;
Fig. 2 is a kind of step flow chart of testing case management first embodiment of the present invention;
Fig. 3 is a kind of step flow chart of testing case management second embodiment of the present invention;
Fig. 4 is a kind of block diagram of test case management device of the present invention;
Fig. 5 is a kind of block diagram of test case management device first embodiment of the present invention.
Specific embodiment
Fig. 1 is the step flow chart of the testing case management of the present invention, and with reference to Fig. 1, the present invention is used as a kind of test
Case management method, comprises the following steps:
S1:The test case of all modules to be tested is combined to form test case set storehouse;
S2:Part test case is extracted from test case set storehouse as test case sample;
S3:Implementation of test cases sample;
S4:Calculate the bug quantitative proportions that each module to be tested has found;
S5:All surveys being not carried out of the highest module to be tested of bug quantitative proportions are extracted from test case set storehouse
Example on probation;
S6:Perform all test cases being not carried out of the highest module to be tested of bug quantitative proportions.
As being further improved for above-mentioned testing case management, the step S2 includes:
Test case quantitative proportion according to each module to be tested uniformly extracts part test case as test case
Sample;
Alternatively, part test case is extracted from test case set storehouse at random as test case sample.
As being further improved for above-mentioned testing case management, the step S4 includes:
Count the test case sum of bug quantity that each module to be tested has found divided by each module to be tested, meter
Calculate the bug quantitative proportions that each module to be tested has found.
As being further improved for above-mentioned testing case management, step S7 is further included:
When being only left a kind of test case of module to be tested in test case set storehouse, the module to be tested is performed
All test cases being not carried out, are completed, and export final result;Otherwise step S2 is returned to.
With reference to Fig. 2, the step flow of testing case management first embodiment of the invention is:
S1:The test case of all modules to be tested is combined to form test case set storehouse;
S2:From test case set storehouse part is uniformly extracted according to the test case quantitative proportion of each module to be tested
Test case is as test case sample;
S3:Implementation of test cases sample;
S4:The test case for counting bug quantity that each module to be tested has found divided by each module to be tested is total
Number, calculates the bug quantitative proportions that each module to be tested has found;
S5:All surveys being not carried out of the highest module to be tested of bug quantitative proportions are extracted from test case set storehouse
Example on probation;
S6:Perform all test cases being not carried out of the highest module to be tested of bug quantitative proportions;
S7:When being only left a kind of test case of module to be tested in test case set storehouse, the die trial to be measured is performed
All test cases being not carried out of block, are completed, and export final result;Otherwise step S2 is returned to.
With reference to Fig. 3, the step flow of testing case management second embodiment of the invention is:
S1:The test case of all modules to be tested is combined to form test case set storehouse;
S2:Part test case is extracted from test case set storehouse at random as test case sample;
S3:Implementation of test cases sample;
S4:The test case for counting bug quantity that each module to be tested has found divided by each module to be tested is total
Number, calculates the bug quantitative proportions that each module to be tested has found;
S5:All surveys being not carried out of the highest module to be tested of bug quantitative proportions are extracted from test case set storehouse
Example on probation;
S6:Perform all test cases being not carried out of the highest module to be tested of bug quantitative proportions;
S7:When being only left a kind of test case of module to be tested in test case set storehouse, the die trial to be measured is performed
All test cases being not carried out of block, are completed, and export final result;Otherwise step S2 is returned to.
Reference Fig. 4, a kind of test case management device of the invention, including:
Test case set storehouse, for storing the test case of all modules to be tested;
Extracting unit, for extracted from test case set storehouse part test case as test case sample or
All test cases being not carried out of the highest module to be tested of bug quantitative proportions are extracted from test case set storehouse;
Execution unit for the test case sample in implementation of test cases sample or performs bug quantitative proportion highests
Module to be tested all test cases being not carried out;
Computing unit calculates the bug quantitative proportions that each module to be tested has found.
As being further improved for above-mentioned test case management device, the extracting unit includes:
Test case sample extraction unit, for uniformly being extracted according to the test case quantitative proportion of each module to be tested
Partial test use-case extracts part test case as survey as test case sample or at random from test case set storehouse
Example sample on probation;
Highest priority test case extracting unit, it is highest for extracting bug quantitative proportions from test case set storehouse
All test cases being not carried out of module to be tested.
As being further improved for above-mentioned test case management device, the execution unit includes:
Test case sample execution unit, for the test case sample in implementation of test cases sample;
Highest priority test case execution unit, for performing all of the highest module to be tested of bug quantitative proportions
The test case being not carried out.
Reference Fig. 5, the first embodiment of test case management device of the invention, including:
Test case set storehouse, for storing the test case of all modules to be tested;
Test case sample extraction unit, for uniformly being extracted according to the test case quantitative proportion of each module to be tested
Partial test use-case extracts part test case as survey as test case sample or at random from test case set storehouse
Example sample on probation;
Highest priority test case extracting unit, it is highest for extracting bug quantitative proportions from test case set storehouse
All test cases being not carried out of module to be tested;
Test case sample extraction unit, for uniformly being extracted according to the test case quantitative proportion of each module to be tested
Partial test use-case extracts part test case as survey as test case sample or at random from test case set storehouse
Example sample on probation;
Highest priority test case extracting unit, it is highest for extracting bug quantitative proportions from test case set storehouse
All test cases being not carried out of module to be tested;
Computing unit calculates the bug quantitative proportions that each module to be tested has found.
The above is presently preferred embodiments of the present invention, the invention is not limited in the above embodiment, as long as
It reaches the technique effect of the present invention with identical means, should all belong to the scope of protection of the present invention.
Claims (7)
1. a kind of testing case management, which is characterized in that comprise the following steps:
S1:The test case of all modules to be tested is combined to form test case set storehouse;
S2:Part test case is extracted from test case set storehouse as test case sample;
S3:Implementation of test cases sample;
S4:Calculate the bug quantitative proportions that each module to be tested has found;
S5:All tests being not carried out that the highest module to be tested of bug quantitative proportions is extracted from test case set storehouse are used
Example;
S6:Perform all test cases being not carried out of the highest module to be tested of bug quantitative proportions.
2. a kind of testing case management according to claim 1, which is characterized in that the step S2 includes:
Test case quantitative proportion according to each module to be tested uniformly extracts part test case as test case sample;
Alternatively, part test case is extracted from test case set storehouse at random as test case sample.
3. a kind of testing case management according to claim 1, which is characterized in that the step S4 includes:
The test case sum of bug quantity that each module to be tested has found divided by each module to be tested is counted, is calculated
The bug quantitative proportions that each module to be tested has found.
4. a kind of testing case management according to claim 1, which is characterized in that further include step S7:
When being only left a kind of test case of module to be tested in test case set storehouse:Perform all of the module to be tested
The test case being not carried out, is completed, and exports final result;
Otherwise step S2 is returned to.
5. a kind of test case management device, which is characterized in that including:
Test case set storehouse, for storing the test case of all modules to be tested;
Extracting unit, for extracting part test case from test case set storehouse as test case sample or from survey
Extract all test cases being not carried out of the highest module to be tested of bug quantitative proportions in example set storehouse on probation;
Execution unit for the test case sample in implementation of test cases sample or performs that bug quantitative proportions are highest treats
All test cases being not carried out of test module;
Computing unit calculates the bug quantitative proportions that each module to be tested has found.
6. a kind of test case management device according to claim 5, which is characterized in that the extracting unit includes:
Test case sample extraction unit, for uniformly extracting part according to the test case quantitative proportion of each module to be tested
Test case extracts part test case from test case set storehouse as test case sample or at random and is used as test
Example sample;
Highest priority test case extracting unit, it is highest to be measured for extracting bug quantitative proportions from test case set storehouse
All test cases being not carried out of die trial block.
7. a kind of test case management device according to claim 5, which is characterized in that the execution unit includes:
Test case sample execution unit, for the test case sample in implementation of test cases sample;
Highest priority test case execution unit is not held for performing highest all of module to be tested of bug quantitative proportions
Capable test case.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810070638.0A CN108073518A (en) | 2018-01-24 | 2018-01-24 | A kind of testing case management and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810070638.0A CN108073518A (en) | 2018-01-24 | 2018-01-24 | A kind of testing case management and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108073518A true CN108073518A (en) | 2018-05-25 |
Family
ID=62156954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810070638.0A Pending CN108073518A (en) | 2018-01-24 | 2018-01-24 | A kind of testing case management and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108073518A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109726124A (en) * | 2018-12-20 | 2019-05-07 | 北京爱奇艺科技有限公司 | Test macro, test method, managing device, test device and calculating equipment |
CN113127352A (en) * | 2021-04-20 | 2021-07-16 | 成都新潮传媒集团有限公司 | Automatic case statistical method and device and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908020A (en) * | 2010-08-27 | 2010-12-08 | 南京大学 | Method for prioritizing test cases based on classified excavation and version change |
CN102662833A (en) * | 2012-03-21 | 2012-09-12 | 天津书生软件技术有限公司 | Method for managing test cases |
KR101538131B1 (en) * | 2013-11-27 | 2015-07-29 | 서울시립대학교 산학협력단 | A Hybrid Bug Triage System and Method for Recommending Bug Fixing Developers |
US20160350207A1 (en) * | 2015-05-28 | 2016-12-01 | International Business Machines Corporation | Generation of test scenarios based on risk analysis |
CN106776351A (en) * | 2017-03-09 | 2017-05-31 | 浙江理工大学 | A kind of combined test use-case prioritization method based on One test at a time strategies |
CN107622007A (en) * | 2016-07-14 | 2018-01-23 | 北京京东尚科信息技术有限公司 | Application testing method and device |
-
2018
- 2018-01-24 CN CN201810070638.0A patent/CN108073518A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908020A (en) * | 2010-08-27 | 2010-12-08 | 南京大学 | Method for prioritizing test cases based on classified excavation and version change |
CN102662833A (en) * | 2012-03-21 | 2012-09-12 | 天津书生软件技术有限公司 | Method for managing test cases |
KR101538131B1 (en) * | 2013-11-27 | 2015-07-29 | 서울시립대학교 산학협력단 | A Hybrid Bug Triage System and Method for Recommending Bug Fixing Developers |
US20160350207A1 (en) * | 2015-05-28 | 2016-12-01 | International Business Machines Corporation | Generation of test scenarios based on risk analysis |
CN107622007A (en) * | 2016-07-14 | 2018-01-23 | 北京京东尚科信息技术有限公司 | Application testing method and device |
CN106776351A (en) * | 2017-03-09 | 2017-05-31 | 浙江理工大学 | A kind of combined test use-case prioritization method based on One test at a time strategies |
Non-Patent Citations (4)
Title |
---|
刘斌等: "《软件验证与确认》", 30 April 2011, 国防工业出版社 * |
刘晓平等: "《计算机技术与应用进展2004下》", 31 August 2004, 中国科学技术大学出版社 * |
来延肖等: "《全国监理工程师执业资格考试应试指导》", 28 February 2003, 中国建材工业出版社 * |
耿维恕等: "《混凝土及预制混凝土构件的质量控制》", 31 March 1996, 中国建筑工业出版社 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109726124A (en) * | 2018-12-20 | 2019-05-07 | 北京爱奇艺科技有限公司 | Test macro, test method, managing device, test device and calculating equipment |
CN113127352A (en) * | 2021-04-20 | 2021-07-16 | 成都新潮传媒集团有限公司 | Automatic case statistical method and device and computer readable storage medium |
CN113127352B (en) * | 2021-04-20 | 2023-03-14 | 成都新潮传媒集团有限公司 | Automatic case statistical method and device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104951842A (en) | Novel method for predicting oil field output | |
CN107038108A (en) | The method of testing and device of software | |
CN108073518A (en) | A kind of testing case management and device | |
CN107657453B (en) | Method and device for identifying fraudulent data | |
CN102436542B (en) | A kind of based on the elimination method of exceptional value in the pharmacy test data of Grubbs rule and matrix labotstory language | |
CN106407488B (en) | Power failure methods of risk assessment and system | |
CN109102486B (en) | Surface defect detection method and device based on machine learning | |
CN103218277A (en) | Automatic detection method and device for server environment | |
CN110929301B (en) | Hardware Trojan horse detection method based on lifting algorithm | |
CN111176253A (en) | Monte Carlo-based flight control law automatic evaluation method | |
CN115576831A (en) | Test case recommendation method, device, equipment and storage medium | |
CN112613263B (en) | Simulation verification method and device, electronic equipment and computer-readable storage medium | |
CN109271377A (en) | A kind of data quality checking method and device | |
CN111858377B (en) | Quality evaluation method and device for test script, electronic equipment and storage medium | |
CN113722238A (en) | Method and system for realizing rapid open source component detection of source code file | |
US11138099B2 (en) | Method for testing software, and computing device and computer-readable storage medium thereof | |
CN114020645A (en) | Test method, device, equipment, readable storage medium and computer program product | |
Le et al. | Scalable fault localization for SystemC TLM designs | |
CN108269004B (en) | Product life analysis method and terminal equipment | |
CN110968518A (en) | Analysis method and device for automatic test log file | |
CN108763063A (en) | A kind of software defect detection method without defect labeled data | |
TWI754304B (en) | Defect analyzing method and device, electronic device, and computer-readable storage medium | |
CN112765011B (en) | Quality control state judging method and device and electronic equipment | |
CN115619296A (en) | Quality detection method and device, terminal equipment and readable storage medium | |
CN111258894B (en) | Method and device for evaluating software risk, storage medium and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180525 |