A kind of software testing management method and system
Technical field
The present invention relates to the management domain of software test, particularly relate to a kind of software testing management method and system.
Background technology
At present, domestic and international main software testing tool has a lot of disappearances in performance, except price is high, its technical characteristic also cannot use in the enterprise-level test environment of main flow, and the carrying out of traditional test job often efficiency is all unsatisfactory, usually there will be following scene: the bug 1) submitted to is bug scene only, it is very difficult to tracking code, orientation problem seems that workload is very big; 2) tester submits to test data some artificial test result forms often of the tension managements such as test supervisor, project manager, it does not have True Data relies on, if there is fraud composition, often product can be reached the standard grade with problem; 3) traditional function test personnel data in test process are difficult to share, it does not have the real time data of the testing progress of project entirety, and the efficiency of work is very low; 4), during Item version iteration, the test case of the last version of deduplication that can be a large amount of, causes testing cost very big; If compromising during testing cost, often artificial judgement version iteration needs the emphasis of test case and the test added, and such version iteration pattern is easy to there is testing blind zone again; 5) if enterprise by the test job outsourcing of project give other enterprise or test team, it is very difficult to control testing progress and test integrated degree, and then test mass is not had data control.
Software test procedure management process, it is substantially an enterprise information management software, the management process of enterprise can be achieved by enterprise information management software on the computer systems, data enterprise produced in management process carry out concentrating storage, convenient search and statistics, reduce handling cost, it is to increase the efficiency of management. Software test ensures the comparatively effective method of software quality, accurately predicts that test duration, workload etc. carry out the top priority of software test.
Therefore, in software test procedure, not only to be paid close attention to the test every time sending out version, more constantly to be improved and to sum up testing process, check problem place from the test data of long-term accumulation, find the method increased work efficiency. Meanwhile, test to be ensured test mass, and test failure to be done clear and definite record and analysis, to avoid the generation of problem next time. In work, need regularly test job to be summed up in one week mode such as form or quarterly account to be sent to and test responsible official or related personnel consults, therefore, outstanding software appraising model is conducive to test and management personnel to formulate testing scheme more accurately, arranges testing progress, adjusts test resource, assesses test risk.
Summary of the invention
In order to solve the problems of the technologies described above, the present invention provides a kind of software testing management method, and described method comprises the following steps:
S1, software test data is divided into multiple dimension degree;
S2, the software test data in any one dimension degree is carried out record, and record is classified;
S3, according to record classification described software test data is stored;
S4, according to record classification to store software test data inquire about.
Further, the multiple dimension degree in described step S1 comprise: carry survey number of times/sky a, test case not number of pass times/sky b, carry survey content number/sky c, disposable percent of pass/sky d, workload radix/sky e, work average complexity/sky f, workload/sky g, line on fault number of times/sky h.
Further, in described step S2, if software test data a and b is carried out record, then according to formula d=(a-b)/a automatic generating software test data d, and d is carried out record;
If software test data a, c and d are carried out record, then according to formula e=a*c/d automatic generating software test data e, and e is carried out record;
If software test data e and f is carried out record, then according to formula g=e*f automatic generating software test data g, and g is carried out record.
Further, also comprising the following steps before described step S2: judge whether record personnel have permission and software test data is carried out record, if having, then performing step S2.
Further, described record classification comprises: writing time, record personnel, business title and record dimension degree;
Also comprise the following steps after described step S3: judge that whether the storage to described software test data is successful, if success, then perform step S4;
Also comprise the following steps after described step S4: Query Result is derived.
Correspondingly, present invention also offers a kind of software testing management system, described system comprises processing module, record module, memory module and inquiry module;
Described processing module is used for being divided into software test data multiple dimension degree, and is classified by record;
Described record module is for carrying out record to the software test data in any one dimension degree;
Described memory module is used for being stored by described software test data according to record classification;
Described inquiry module is used for being inquired about by the described software test data stored according to record classification.
Further, described multiple dimension degree comprises: carry survey number of times/sky a, test case not number of pass times/sky b, carry survey content number/sky c, disposable percent of pass/sky d, workload radix/sky e, work average complexity/sky f, workload/sky g, line on fault number of times/sky h.
Further, described system also comprises calculating module, and described calculating module is used for after being recorded by software test data a and b, calculates software test data d according to formula d=(a-b)/a;
After software test data a, c and d being recorded, calculate software test data e according to formula e=a*c/d;
After being recorded by software test data e and f, calculate software test data g according to formula g=e*f.
Further, described system also comprises judgement module, described judges module whether record personnel have permission for judging software test data is carried out record.
Further, described record classification comprises: writing time, record personnel, business title and record dimension degree;
Described judge module also for judging the whether success of the storage to described software test data;
Described system also comprises result output module, and described result output module is for deriving Query Result.
The software testing management method of the present invention and system, have following useful effect:
1, the test job of long-term accumulation can be carried out record by the present invention, and carry out taxonomic revision, inquiry is provided, as the data foundation of weekly form, monthly form, annual report form etc., or can directly utilize the quality etc. of the action of the graphic analyses tester derived after inquiry, workload, beta version.
2, record time only need to input data, then press submit to button can store, intra-company tester does not need to have record and the inquiry that management profrssion knowledge can utilize management system of the present invention to carry out testing, it may also be useful to scope is wide and fast very convenient.
3, the present invention can derived query result as required, the test data of long-term accumulation can be analyzed by tester according to this Query Result, finds out work bottleneck, thus improves test efficiency.
4, test data is divided into multiple dimension degree, through the test data of each dimension degree is carried out continuous long record, content can be recorded the quality of the test data that each business department submits to compared, data plane, provide some suggestions of exploitation and inspire, the common raising promoting test data quality, ensures the stability on line.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, it is briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of invention software test and management method;
Fig. 2 is recording method schema in the software testing management method in the embodiment of the present invention one;
Fig. 3 is querying method schema in the software testing management method in the embodiment of the present invention one;
Fig. 4 is the block diagram of the software testing management system in the embodiment of the present invention one;
Fig. 5 is the block diagram of the record module in the embodiment of the present invention one;
Fig. 6 is the block diagram of the memory module in the embodiment of the present invention one.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, other embodiments all that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belong to the scope of protection of the invention.
Embodiment one:
As shown in Figure 1 to Figure 3, the present invention provides a kind of software testing management method, and described method comprises the following steps:
S1, software test data is divided into eight dimension degree, be respectively carry survey number of times/sky a, test case not number of pass times/sky b, carry and survey fault number of times/sky h on content number/sky c, disposable percent of pass/sky d, workload radix/sky e, work average complexity/sky f, workload/sky g, line;
Wherein, carry survey number of times/sky and it be specially: the number of times submitting beta version to, is designated as a,
Test case is not specially in number of pass times/sky: whether the BVT beta version of submission affects Core Feature, if impact, is then designated as not number of pass times, is designated as b,
Carry survey content number/sky to be specially: the number of times of the content that the beta version of submission is revised, is designated as b;
Disposable percent of pass/sky is specially: the probability that the beta version of submission can disposable pass through, and is designated as d,
Workload radix/sky is specially: the workload radix of every day, is designated as e,
Work average complexity/sky is specially: the complexity of content measurement that every day submits to, is also exactly the mean time calculated needed for test, in order to calculate workload every day, is designated as f, and unit is minute,
Workload/sky is specially: the total time input by the test job of every day, be designated as g, and unit is minute,
On line, fault number of times/sky is specially: the fault number of times on every day line, is designated as h;
S2, judge record personnel and whether have permission software test data is carried out record, the personnel generally having permission record are Administrators, and tester's not authority, but Administrator can distribute authority according to the tester that actual business requirement is directly related with business, after distribution authority, tester can input name, code name, user name or other modes and carry out record
If there is no authority, then select to have permission the business type of record,
If having permission, then perform next step;
S3, the software test data in any one dimension degree being carried out record, record personnel can record the software test data in any one dimension degree,
1) record personnel to carry out calculating d according to formula d=(a-b)/a, and d is carried out record, if before record d, software test data a and b being carried out record, then according to formula d=(a-b)/a automatic generating software test data d, and d is carried out record;
2) record personnel carry out calculating e according to formula e=a*c/d, and e is carried out record, if before record e, software test data a, c and d being carried out record, then according to formula e=a*c/d automatic generating software test data e, and e is carried out record;
3) record personnel carry out calculating g according to formula g=e*f, and g is carried out record, if before record g, software test data e and f being carried out record, then according to formula g=e*f automatic generating software test data g, and g is carried out record;
Wherein, any one value or all values in input a-h is only needed when the software test data in each dimension degree records;
S4, to record according to writing time, record personnel, business title and record dimension degree classify;
S5, according to writing time, record personnel, business title and record dimension degree described software test data is stored, when the software test data in each dimension degree stores, only need to submit corresponding test data after reordering to;
S6, the whether success that judges the storage to described software test data, then store again, until success;
S7, according to writing time, record personnel, business title and record dimension degree, the software test data of storage is inquired about, also comprise before inquiry and judge whether personnel query has permission software test data is inquired about;
S8, as required Query Result is derived.
Can recording separately in the present invention and inquire about separately, must inquire about after not limiting record, what also do not limit inquiry to be carried out record.
Correspondingly, as shown in Figure 4, present invention also offers a kind of software testing management system, described system comprises processing module, judges module, records module, memory module and inquiry module;
Described processing module is used for being divided into software test data eight dimension degree, described eight dimension degree be respectively carry survey number of times/sky a, test case not number of pass times/sky b, carry survey content number/sky c, disposable percent of pass/sky d, workload radix/sky e, work average complexity/sky f, workload/sky g, line on fault number of times/sky h, a-h in its corresponding method
Also for record is classified according to writing time, record personnel, business title and record dimension degree;
Described judge module whether record personnel have permission for judging software test data is carried out record, the personnel generally having permission record are Administrators, and tester's not authority, but Administrator can distribute authority according to the tester that actual business requirement is directly related with business, after distribution authority, tester can input name, code name, user name or other modes and carry out record, if not having authority, then selects to have permission the business type of record;
Described record module is for carrying out record to the software test data in any one dimension degree, and record personnel can record the software test data in any one dimension degree,
1) record personnel to carry out calculating d according to formula d=(a-b)/a, and d is carried out record, if before record d, software test data a and b being carried out record, then according to formula d=(a-b)/a automatic generating software test data d, and d is carried out record;
2) record personnel carry out calculating e according to formula e=a*c/d, and e is carried out record, if before record e, software test data a, c and d being carried out record, then according to formula e=a*c/d automatic generating software test data e, and e is carried out record;
3) record personnel carry out calculating g according to formula g=e*f, and g is carried out record, if before record g, software test data e and f being carried out record, then according to formula g=e*f automatic generating software test data g, and g is carried out record;
Wherein, as shown in Figure 5, record module comprises the input frame of eight dimension degree, and record personnel only need to input any one value or all values in a-h in input frame;
Described memory module is used for being stored by described software test data according to writing time, record personnel, business title and record dimension degree; Memory module comprises the submission button of eight dimension degree, and record personnel, when being stored by the software test data in each dimension degree, only need to press after reordering and submit button to;
Test record is stored in database, and database-name is youkutest, and database stores according to the form of table 1:
Table 1
Time |
Business module |
Record personnel |
Record dimension degree |
In database, file layout to the test data of eight dimension degree is as shown in table 2:
Table 2
As shown in Table 3 and Table 4, below respectively for carry survey number of times/sky Submittimes and test case not number of pass times/sky BVTfail be described:
Table 3
Table 4
Storage mode and the list structure of other dimension degree of the embodiment of the present invention are similar with the structure of table 4 to table 3, and just major key key is capable different, and other row and table 3 are identical with table 4.
Therefore, memory module when test data is stored, the test data of each dimension degree equal corresponding record time, record personnel, business title and content measurement.
Described judge module also for judging the whether success of the storage to described software test data, if not success, then click on submission button again, until preserving successfully;
As shown in Figure 6, described inquiry module is used for being inquired about by described software test data according to writing time, record personnel, business title and record dimension degree,
If according to inquiry writing time, then the time that can start to record or terminate record according to record personnel inquires about, and Query Result is whole records of eight record dimension degree in the time period inquired about;
If according to record personnel inquiry, then can inquire about according to the name of tester, Query Result is whole records of record personnel eight the record dimension degree inquired about;
If according to the inquiry of business type, then can inquire about according to the title of business type, Query Result is whole records of eight record dimension degree of the business type inquired about;
If according to record dimension degree inquiry, then can inquire about according to the title of eight dimension degree;
Comprehensive inquiry can also be carried out by writing time, record personnel, business type and record dimension degree.
Described result output module is for deriving Query Result as required, test data can being derived according to forms such as weekly form, monthly form, annual report forms, the quality of action, workload, beta version is analyzed by the chart that tester can derive after directly utilizing inquiry.
Embodiment two:
The difference of the present embodiment and embodiment one is, in method steps, software test data is divided into multiple dimension degree, multiple dimension degree can comprise: carry survey number of times/sky a, test case not number of pass times/sky b, put forward any one that survey on content number/sky c, disposable percent of pass/sky d, workload radix/sky e, work average complexity/sky f, workload/sky g, line in fault number of times/sky h, accordingly, record, inquire about, process and derive corresponding test data when record, inquiry, process and derivation.
Correspondingly, in software testing management system, described processing module is used for being divided into software test data multiple dimension degree, described multiple dimension degree can comprise carry survey number of times/sky a, test case not number of pass times/sky b, put forward any one that survey on content number/sky c, disposable percent of pass/sky d, workload radix/sky e, work average complexity/sky f, workload/sky g, line in fault number of times/sky h, accordingly, corresponding test data is carried out corresponding inquiry, record, process and derivation by the module being associated to test data in record module, inquiry module etc.
The software testing management method of the present invention and system, have following useful effect:
1, the test job of long-term accumulation can be carried out record by the present invention, and carry out taxonomic revision, inquiry is provided, as the data foundation of weekly form, monthly form, annual report form etc., or can directly utilize the quality etc. of the action of the graphic analyses tester derived after inquiry, workload, beta version.
2, record time only need to input data, then press submit to button can store, intra-company tester does not need to have record and the inquiry that management profrssion knowledge can utilize management system of the present invention to carry out testing, it may also be useful to scope is wide and fast very convenient.
3, the present invention can derived query result as required, the test data of long-term accumulation can be analyzed by tester according to this Query Result, finds out work bottleneck, thus improves test efficiency.
4, test data is divided into multiple dimension degree, through the test data of each dimension degree is carried out continuous long record, content can be recorded the quality of the test data that each business department submits to compared, data plane, provide some suggestions of exploitation and inspire, the common raising promoting test data quality, ensures the stability on line.
The above is the preferred embodiment of the present invention; it is noted that for those skilled in the art, under the premise without departing from the principles of the invention; can also making some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.