CN104360946A - Defect-testing computer implementation method and computer - Google Patents

Defect-testing computer implementation method and computer Download PDF

Info

Publication number
CN104360946A
CN104360946A CN201410657414.1A CN201410657414A CN104360946A CN 104360946 A CN104360946 A CN 104360946A CN 201410657414 A CN201410657414 A CN 201410657414A CN 104360946 A CN104360946 A CN 104360946A
Authority
CN
China
Prior art keywords
defect
defect information
information
template
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410657414.1A
Other languages
Chinese (zh)
Other versions
CN104360946B (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.)
Telecommunications Science and technology Tenth Research Institute Limited
Original Assignee
TELECOMMUNICATION SCIENCE AND TECHNOLOGY NO 10 RESEARCH INSTITUTE
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 TELECOMMUNICATION SCIENCE AND TECHNOLOGY NO 10 RESEARCH INSTITUTE filed Critical TELECOMMUNICATION SCIENCE AND TECHNOLOGY NO 10 RESEARCH INSTITUTE
Priority to CN201410657414.1A priority Critical patent/CN104360946B/en
Publication of CN104360946A publication Critical patent/CN104360946A/en
Application granted granted Critical
Publication of CN104360946B publication Critical patent/CN104360946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a defect-testing computer implementation method and a computer, and belongs to the field of testing. The method comprises the following steps: acquiring the defect type of a target test object; acquiring a defect information template matched with the defect type according to the defect type of the target test object; generating defect information corresponding to the target test object according to the defect information template. According to the defect-testing computer implementation method provided by the invention, the generation of defect information is mostly finished in a selecting manner, and only a small amount of information needs to be input manually, so that the writing time is saved, the standardization of defect information description and the integrity of content are ensured, and the quality of the defect information is enhanced; meanwhile, statistical analysis can be performed on defects conveniently by using the standardized defect information content.

Description

A kind of computer implemented method of test defect and computing machine
Technical field
The present invention relates to field tests, particularly a kind of computer implemented method of test defect and computing machine.
Background technology
It is one of main method ensureing product quality that product carried out testing before putting on market, wherein test defect record is write in an important job, accurately, clear, succinct, complete defect information can reduce communication cost between tester and between tester and research staff, can improve the accuracy to tested object quality evaluation.Normalizedly write the work efficiency that mode then can improve tester.
The generation of current defect information is all completed by the mode of full craft or semi-hand.Complete manual mode is exactly tested in test process while hand-coding by tester, or tester relies on memory to be write after the test is ended.The mode of semi-hand record is exactly that tester writes by some instruments.
No matter be that full manual mode is write or semi-hand mode is write, all can have following shortcoming: 1, the at substantial time.No matter which kind of mode, all need the information such as the manual input test step of tester, test input, test output, defect description, even semi-hand mode, main contents still need tester to input by hand.In input process, tester needs thinking describing mode, describes content, standard works etc., and this needs a large amount of time; 2, the standardization of defect information cannot be ensured.Due to the effect that by tester's hand-coding, it is write quality and is determined by the conscientious degree of tester, ken and writing skills.
Therefore, develop a kind of computer implemented method of test defect, have very actual realistic meaning.That not only greatly can reduce test defect information writes the time, and what can also promote test defect information writes quality, and normalized defect information content is also convenient to carry out statistical study to defect simultaneously.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of computer implemented method and computing machine of test defect.Described technical scheme is as follows:
First aspect, provide a kind of computer implemented method of test defect, described method comprises:
Obtain the defect type of target detection object;
According to the defect type of described target detection object, obtain the defect information template of mating with described defect type;
According to described defect information template, generate the defect information corresponding with described target detection object.
In conjunction with first aspect, in the implementation that the first is possible, the described defect type according to described target detection object, obtains the defect information template of mating with described defect type and comprises:
By the essential elements needed for the complete expression of analyzing each defect type, determine the ingredient of each described defect type;
By analyze the ingredient of each described defect type various statements may, generate can precise expression is various may the preset option of situation, really need the input interface reserved that tester manually inputs.
In conjunction with first aspect, in the implementation that the second is possible, described according to described defect information template, generate the defect information corresponding with described target detection object and comprise:
According to defect type, defect is selected to write template;
Write the defect information ingredient set in template according to described defect, use the mode selecting described preset option to combine manually input necessary information to confirm the content of each ingredient of described defect information, generate defect information.
Second aspect, provides a kind of computing machine, and described computing machine comprises:
Acquiring unit, obtains the defect type of target detection object;
Described acquiring unit also for, according to the defect type of described target detection object, obtain the defect information template of mating with described defect type;
Processing unit, for according to described defect information template, generates the defect information corresponding with described target detection object.
In conjunction with second aspect, in the implementation that the first is possible, described acquiring unit specifically for:
According to defect type, determine the ingredient comprised needed for each type flaw;
By the essential elements needed for the complete expression of analyzing each defect type, determine the ingredient of each described defect type;
By analyze the ingredient of each described defect type various statements may, generate can precise expression is various may the preset option of situation, really need the input interface reserved that tester manually inputs.
In conjunction with second aspect, in the implementation that the second is possible, described processing unit specifically for:
According to defect type, defect is selected to write template;
Write the defect information ingredient set in template according to described defect, use the mode selecting described preset option to combine manually input necessary information to confirm the content of each ingredient of described defect information, generate defect information.
The invention process provides a kind of computer implemented method of test defect, when generating defect information, major part is completed by the mode selected, only need a small amount of manual input information, save the time of writing, ensure the integrality of the standardization that defect information describes and content, improve the quality of defect information, normalized defect information content is also convenient to carry out statistical study to defect simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, 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, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the computer implemented method flow diagram of a kind of test defect that the embodiment of the present invention provides;
Fig. 2 is the computer implemented method flow diagram of a kind of test defect that the embodiment of the present invention provides;
Fig. 3 is a kind of computer organization schematic diagram that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
The embodiment of the present invention provides a kind of computer implemented method of test defect, and with reference to shown in Fig. 1, the method comprises:
101, the defect type of target detection object is obtained.
102, according to the defect type of target detection object, the defect information template of mating with defect type is obtained.
103, according to defect information template, the defect information corresponding with target detection object is generated.
The embodiment of the present invention provides a kind of computer implemented method of test defect, when generating defect information, major part is completed by the mode selected, only need a small amount of manual input information, save the time of writing, ensure the integrality of the standardization that defect information describes and content, improve the quality of defect information, normalized defect information content is also convenient to carry out statistical study to defect simultaneously.
The embodiment of the present invention provides a kind of computer implemented method of test defect, and with reference to shown in Fig. 2, the method comprises:
201, the defect type of target detection object is obtained.
It should be noted that, here without the need to analyzing all tested objects, only needing to carry out covering with reference to self relating to field, and defect type dividing mode can be determined flexibly;
Such as can be divided into: document defect, design defect, configuration defect, interface alternation defect, data check defect, functional defect, performance deficiency, reliability defect etc.
202, according to defect type, the ingredient comprised needed for each defect type is determined.
Concrete, by the essential elements needed for the complete expression of analyzing each defect type, determine the ingredient of each defect type.
It should be noted that, in the process of ingredient determining each defect type, the degree of refinement of reply ingredient takes into full account, need guarantee the description requirement of satisfied different defect on the one hand, the inefficiency that need prevent too much ingredient from causing on the other hand;
Test defect such as software product can be divided into: test environment, software version, test case information, defect title, operation steps, error message, supplementary, defect state, the defect order of severity, defect priority, defect source, tester, test duration etc.;
Further, test environment can be divided into: operating system, browser, hardware configuration, number of devices, the network bandwidth etc.;
Further, operation steps can be divided into: step 1, step 2, step 3 etc., and each step can be divided into: action, action object;
Further, supplementary can be divided into: daily record, sectional drawing, interface communication record etc.
203, preset option is generated to each ingredient.
Concrete, by analyze each defect ingredient various statements may, generate can precise expression is various may the preset option of situation, really need the input interface reserved that tester manually inputs.
It should be noted that, in the process generating preset option, tackle each choosing of preset option and take into full account, the description requirement of satisfied different defect need be guaranteed on the one hand, the inefficiency that need prevent too much approximate content from causing on the other hand;
Action install beforehand option in such as operation steps is: open, close, start, stop, inputting, select, log in, exit, mouse-click, double mouse click, wait, observation etc.;
Such as defect order of severity install beforehand option is: fatal, serious, general, small;
Such as defect source install beforehand option is: demand, framework, design, coding, integrated etc.
204, according to defect type, defect is selected to write template.
205, write the defect ingredient set in template according to defect, use the mode selecting preset option to combine manually input necessary information to confirm the content of each ingredient of defect information, generate defect information.
The embodiment of the present invention provides a kind of computer implemented method of test defect, when generating defect information, major part is completed by the mode selected, only need a small amount of manual input information, save the time of writing, ensure the integrality of the standardization that defect information describes and content, improve the quality of defect information, normalized defect information content is also convenient to carry out statistical study to defect simultaneously.
The embodiment of the present invention provides a kind of computing machine 3, and with reference to shown in Fig. 3, this computing machine 3 comprises:
Acquiring unit 31, obtains the defect type of target detection object;
Acquiring unit 31 also for, according to the defect type of target detection object, obtain and the defect information template of defect type;
Processing unit 32, for according to defect information template, generates the defect information corresponding with target detection object.
Optionally, acquiring unit 31 specifically for:
By the essential elements needed for the complete expression of analyzing each defect type, determine the ingredient of each defect type;
By analyze the ingredient of each defect type various statements may, generate can precise expression is various may the preset option of situation, really need the input interface reserved that tester manually inputs.
Optionally, processing unit 32 specifically for:
According to defect type, defect is selected to write template;
Write the defect ingredient set in template according to defect, use the mode selecting preset option to combine manually input necessary information to confirm the content of each ingredient of defect information, generate defect information.
The embodiment of the present invention provides a kind of computing machine, when generating defect, major part is completed by the mode selected, only need a small amount of manual input information, save the time of writing, ensure the integrality of the standardization that defect information describes and content, improve the quality of defect information, normalized defect information content is also convenient to carry out statistical study to defect simultaneously.
Wherein, it should be noted that the computer implemented method of a kind of test defect that the embodiment of the present invention provides may be used for the test of software, in addition to software, can also be other tested objects, the method that the embodiment of the present invention provides be limited concrete tested object.
It should be noted that: the computing machine that above-described embodiment provides is when realizing the computer implemented method of test defect, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by computing machine is divided into different functional modules, to complete all or part of function described above.In addition, the computer implemented method of a kind of test defect that above-described embodiment provides and computer embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
These are only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a computer implemented method for test defect, is characterized in that, described method comprises:
Obtain the defect type of target detection object;
According to the defect type of described target detection object, obtain the defect information template of mating with described defect type;
According to described defect information template, generate the defect information corresponding with described target detection object.
2. method according to claim 1, is characterized in that, the described defect type according to described target detection object, obtains the defect information template of mating with described defect type and comprises:
By the essential elements needed for the complete expression of analyzing each defect type, determine the ingredient of each described defect type;
By analyze the ingredient of each described defect type various statements may, generate can precise expression is various may the preset option of situation, really need the input interface reserved that tester manually inputs.
3. method according to claim 1, is characterized in that, described according to described defect information template, generates the defect information corresponding with described target detection object and comprises:
According to defect type, defect is selected to write template;
Write the defect information ingredient set in template according to described defect, use the mode selecting described preset option to combine manually input necessary information to confirm the content of each ingredient of described defect information, generate defect information.
4. a computing machine, is characterized in that, described computing machine comprises:
Acquiring unit, obtains the defect type of target detection object;
Described acquiring unit also for, according to the defect type of described target detection object, obtain the defect information template of mating with described defect type;
Processing unit, for according to described defect information template, generates the defect information corresponding with described target detection object.
5. computing machine according to claim 4, is characterized in that, described acquiring unit specifically for:
By the essential elements needed for the complete expression of analyzing each defect type, determine the ingredient of each described defect type;
By analyze the ingredient of each described defect type various statements may, generate can precise expression is various may the preset option of situation, really need the input interface reserved that tester manually inputs.
6. computing machine according to claim 4, is characterized in that, described processing unit specifically for:
According to defect type, defect is selected to write template;
Write the defect ingredient set in template according to described defect, use the mode selecting described preset option to combine manually input necessary information to confirm the content of each ingredient of described defect information, generate defect information.
CN201410657414.1A 2014-11-18 2014-11-18 The computer implemented method and computer of a kind of test defect Active CN104360946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410657414.1A CN104360946B (en) 2014-11-18 2014-11-18 The computer implemented method and computer of a kind of test defect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410657414.1A CN104360946B (en) 2014-11-18 2014-11-18 The computer implemented method and computer of a kind of test defect

Publications (2)

Publication Number Publication Date
CN104360946A true CN104360946A (en) 2015-02-18
CN104360946B CN104360946B (en) 2017-11-17

Family

ID=52528210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410657414.1A Active CN104360946B (en) 2014-11-18 2014-11-18 The computer implemented method and computer of a kind of test defect

Country Status (1)

Country Link
CN (1) CN104360946B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632931A (en) * 2017-09-08 2018-01-26 中国农业银行股份有限公司 A kind of standardization system and method for software defect description
CN110147325A (en) * 2019-05-22 2019-08-20 电信科学技术第十研究所有限公司 A kind of data creation method and device based on automatic test
CN110347599A (en) * 2019-07-11 2019-10-18 电信科学技术第十研究所有限公司 A kind of management method and device based on test defect data
CN110389782A (en) * 2019-07-13 2019-10-29 北京海致星图科技有限公司 A kind of efficient figure platform defect bill of lading system
CN110888711A (en) * 2019-12-11 2020-03-17 广州品唯软件有限公司 Defect management method, defect management apparatus, and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080133979A1 (en) * 2006-12-04 2008-06-05 Chang-Eun Lee Fault model and rule based fault management apparatus in home network and method thereof
CN102339252A (en) * 2011-07-25 2012-02-01 大连理工大学 Static state detecting system based on XML (Extensive Makeup Language) middle model and defect mode matching
CN103019898A (en) * 2012-11-26 2013-04-03 加弘科技咨询(上海)有限公司 Error reporting system for memory module detection and slot position traffic light positioning
CN103365772A (en) * 2012-04-06 2013-10-23 株式会社日立制作所 Device and method for software testing automatic evaluation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080133979A1 (en) * 2006-12-04 2008-06-05 Chang-Eun Lee Fault model and rule based fault management apparatus in home network and method thereof
CN102339252A (en) * 2011-07-25 2012-02-01 大连理工大学 Static state detecting system based on XML (Extensive Makeup Language) middle model and defect mode matching
CN103365772A (en) * 2012-04-06 2013-10-23 株式会社日立制作所 Device and method for software testing automatic evaluation
CN103019898A (en) * 2012-11-26 2013-04-03 加弘科技咨询(上海)有限公司 Error reporting system for memory module detection and slot position traffic light positioning

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632931A (en) * 2017-09-08 2018-01-26 中国农业银行股份有限公司 A kind of standardization system and method for software defect description
CN110147325A (en) * 2019-05-22 2019-08-20 电信科学技术第十研究所有限公司 A kind of data creation method and device based on automatic test
CN110147325B (en) * 2019-05-22 2023-04-07 电信科学技术第十研究所有限公司 Data generation method and device based on automatic test
CN110347599A (en) * 2019-07-11 2019-10-18 电信科学技术第十研究所有限公司 A kind of management method and device based on test defect data
CN110347599B (en) * 2019-07-11 2023-05-09 电信科学技术第十研究所有限公司 Management method and device based on test defect data
CN110389782A (en) * 2019-07-13 2019-10-29 北京海致星图科技有限公司 A kind of efficient figure platform defect bill of lading system
CN110888711A (en) * 2019-12-11 2020-03-17 广州品唯软件有限公司 Defect management method, defect management apparatus, and readable storage medium
CN110888711B (en) * 2019-12-11 2023-10-24 广州品唯软件有限公司 Defect management method, defect management apparatus, and readable storage medium

Also Published As

Publication number Publication date
CN104360946B (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN109302522B (en) Test method, test device, computer system, and computer medium
US9703694B2 (en) Techniques for testing software
WO2018010552A1 (en) Test method and device
CN107506300B (en) User interface testing method, device, server and storage medium
CN103164328B (en) The regression testing method of a kind of business function, Apparatus and system
CN104360946A (en) Defect-testing computer implementation method and computer
CN108763076A (en) A kind of Software Automatic Testing Method, device, equipment and medium
CN109871326A (en) A kind of method and apparatus that script is recorded
CN111324526B (en) Interface test system, method and server
KR101477287B1 (en) Test module generating apparatus, test sequence generating apparatus, generating method, program and test apparatus
US8904321B1 (en) System and method for automatically generating coverage constructs and constraint solver distributions
CN105589837B (en) A kind of automatic errordetecting method of electronic document
US10592703B1 (en) Method and system for processing verification tests for testing a design under test
US20120117424A1 (en) System-level testcase generation
JP2017533491A (en) Information processing method, apparatus, and computer storage medium
CN111198811A (en) Page automatic test method and device, electronic equipment and storage medium
Alferidah et al. Automated software testing tools
CN110597704B (en) Pressure test method, device, server and medium for application program
CN105279092A (en) Software testing method and apparatus
US20190138432A1 (en) Test case standardization and automatic test script generation
Nidagundi et al. New method for mobile application testing using lean canvas to improving the test strategy
CN108334443A (en) Generate method, apparatus, equipment and the computer readable storage medium of test case
CN111459814A (en) Automatic test case generation method and device and electronic equipment
CN109710523B (en) Visual draft test case generation method and device, storage medium and electronic equipment
US20150082287A1 (en) Scenario based test design

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 710000 Yanta West Road, Xi'an, Shaanxi Province, No. 6

Patentee after: Telecommunications Science and technology Tenth Research Institute Limited

Address before: 710000 Yanta West Road, Xi'an, Shaanxi Province, No. 6

Patentee before: TELECOMMUNICATION SCIENCE AND TECHNOLOGY NO. 10 RESEARCH INSTITUTE