CN106776328A - A kind of method that BUG is associated with test case - Google Patents

A kind of method that BUG is associated with test case Download PDF

Info

Publication number
CN106776328A
CN106776328A CN201611191794.XA CN201611191794A CN106776328A CN 106776328 A CN106776328 A CN 106776328A CN 201611191794 A CN201611191794 A CN 201611191794A CN 106776328 A CN106776328 A CN 106776328A
Authority
CN
China
Prior art keywords
bug
test case
test
typing
implementation
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
CN201611191794.XA
Other languages
Chinese (zh)
Other versions
CN106776328B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201611191794.XA priority Critical patent/CN106776328B/en
Publication of CN106776328A publication Critical patent/CN106776328A/en
Application granted granted Critical
Publication of CN106776328B publication Critical patent/CN106776328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3644Software debugging by instrumenting at runtime
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/366Software debugging using diagnostics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The technical scheme of a kind of method associated with test case the invention provides BUG, the BUG typing entrances in the program during implementation of test cases:A. have found and the BUG of typing management system, the typing of the typing BUG numberings existed below in implementation of test cases expected results;B., behind implementation of test cases expected results there is the entrance for jumping to BUG input interfaces in newfound BUG during implementation of test cases, and the BUG of new typing is automatically associated in test case and automatic jumps to test case and performs the page;Can check that last time performs the BUG states of association during implementation of test cases.

Description

A kind of method that BUG is associated with test case
Technical field
It is easy to more intuitively check the state for having found BUG during subsequent execution the present invention relates to a kind of The method that BUG is associated with test case.
Background technology
In the prior art, known technology is during implementation of test cases, if finding to work as in the process of implementation Preceding undiscovered BUG, will exit use-case execution, switch the BUG typing pages, then can just continue executing with test case, this mistake Cheng Buneng is directly redirected, excessively complicated.This is the weak point existing for prior art.
The content of the invention
The purpose of the present invention provides a kind of BUG and is associated with test case aiming at the deficiency existing for prior art Method, the method can from test case perform the page jump directly to the BUG typing pages, continued executing with after typing test use Example, and BUG directly can be associated with the use-case, make test case implementation procedure eased.
This programme is achieved by the following technical measures:1. a kind of method that BUG is associated with test case, it is special Levy is to comprise the following steps:
1)Implementation of test cases;
2)During implementation of test cases, if it find that BUG, judges whether BUG is new BUG, if new BUG, Then enter step 3), if not new BUG, then into step 4)
3)BUG typings entrance behind the expected results of implementation of test cases correspondence step enters the BUG typing pages, and typing is protected The execution page of test case is jumped back to after depositing;
4)The direct correlation BUG numberings after the expected results of implementation of test cases.
Described step 4)In for the BUG numberings that associate, when next time performs can according to BUG numberings it is directly perceived show it is current BUG states.
Described BUG states include BUG numbering Show Color As of the BUG unconfirmed in test case has been associated, and have confirmed that Unresolved BUG numbering Show Color B, have solved BUG numbering Show Color C, have verified that and complete and close BUG numbering Show Colors D, so in test round below, the color that checking can number when performing history according to BUG is intuitively judged very much The state of current BUG.
Described step 3)In the BUG of new typing be associated with the test case.
The beneficial effect of this programme can be learnt according to the narration to such scheme, due to implementation of test cases in this scenario When BUG typing entrances:A. have found and the BUG of typing management system, exist behind implementation of test cases expected results Typing BUG numbering typing;B. newfound BUG during implementation of test cases, deposits behind implementation of test cases expected results The entrance of BUG input interfaces is being jumped to, the BUG of new typing is automatically associated in test case and automatic jumps to test case Perform the page;Can check that last time performs the BUG states of association during implementation of test cases:Each test case when being performed a plurality of times, The current state of BUG is associated before can checking in round implementation procedure, for example:Display yellow BUG numberings unconfirmed, have confirmed that not Display blueness BUG numberings are solved, has solved to show green BUG numberings, had verified that and complete and close display black BUG numberings.By This is visible, and the present invention is compared with prior art, with prominent substantive distinguishing features and significantly progressive, its beneficial effect implemented It is also obvious.
Specific embodiment
For the technical characterstic for illustrating this programme can be understood, below by a specific embodiment, and this programme is carried out Illustrate.
The method that the BUG of this programme is associated with test case, it is characterised in that comprise the following steps:
1)Implementation of test cases;
2)During implementation of test cases, if it find that BUG, judges whether BUG is new BUG, if new BUG, Then enter step 3), if not new BUG, then into step 4)
3)BUG typings entrance behind the expected results of implementation of test cases correspondence step enters the BUG typing pages, and typing is protected The execution page of test case is jumped back to after depositing;The BUG of new typing is associated with the test case.
4)The direct correlation BUG numberings after the expected results of implementation of test cases.For the BUG numberings for associating, when next time performs Current BUG states can intuitively be shown according to BUG numberings.Described BUG states include that BUG unconfirmed is associating test use BUG numbering Show Color A in example, have confirmed that unresolved BUG numberings Show Color B, have solved BUG numbering Show Color C, Checking is completed and closes BUG numbering Show Color D, so in test round below, can root when checking and perform history The color numbered according to BUG intuitively judges the state of current BUG very much.
The present invention is not limited in above-mentioned specific embodiment, and those of ordinary skill in the art are in essential scope of the invention Change, remodeling, addition or the replacement inside made, should also belong to protection scope of the present invention.

Claims (4)

1. a kind of method that BUG is associated with test case, it is characterised in that comprise the following steps:
1)Implementation of test cases;
2)During implementation of test cases, if it find that BUG, judges whether BUG is new BUG, if new BUG, Then enter step 3), if not new BUG, then into step 4)
3)BUG typings entrance behind the expected results of implementation of test cases correspondence step enters the BUG typing pages, and typing is protected The execution page of test case is jumped back to after depositing;
4)The direct correlation BUG numberings after the expected results of implementation of test cases.
2. the method that BUG according to claim 1 is associated with test case, it is characterized in that:Described step 4)In for The BUG numberings of association, current BUG states can be intuitively shown when next time performs according to BUG numberings.
3. the method that BUG according to claim 2 is associated with test case, it is characterized in that:Described BUG states are included not Confirm BUG numbering Show Color As of the BUG in test case has been associated, have confirmed that unresolved BUG numberings Show Color B, solved Certainly BUG numberings Show Color C, has verified that and completes and close BUG numbering Show Color D, so in test round below, looks into The color that seeing can number when performing history according to BUG intuitively judges the state of current BUG very much.
4. the method that BUG according to claim 1 and 2 is associated with test case, it is characterized in that:Described step 3)In it is new The BUG of typing is associated with the test case.
CN201611191794.XA 2016-12-21 2016-12-21 A kind of BUG and the associated method of test case Active CN106776328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611191794.XA CN106776328B (en) 2016-12-21 2016-12-21 A kind of BUG and the associated method of test case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611191794.XA CN106776328B (en) 2016-12-21 2016-12-21 A kind of BUG and the associated method of test case

Publications (2)

Publication Number Publication Date
CN106776328A true CN106776328A (en) 2017-05-31
CN106776328B CN106776328B (en) 2019-06-28

Family

ID=58896876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611191794.XA Active CN106776328B (en) 2016-12-21 2016-12-21 A kind of BUG and the associated method of test case

Country Status (1)

Country Link
CN (1) CN106776328B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408380A (en) * 2018-09-30 2019-03-01 北京金山安全软件有限公司 Game system defect management method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510172A (en) * 2009-03-23 2009-08-19 金蝶软件(中国)有限公司 Test system and method
CN103634592A (en) * 2013-12-09 2014-03-12 乐视致新电子科技(天津)有限公司 Automatic test method and system for intelligent televisions
US20140109053A1 (en) * 2012-10-16 2014-04-17 Microsoft Identifying high impact bugs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510172A (en) * 2009-03-23 2009-08-19 金蝶软件(中国)有限公司 Test system and method
US20140109053A1 (en) * 2012-10-16 2014-04-17 Microsoft Identifying high impact bugs
CN103634592A (en) * 2013-12-09 2014-03-12 乐视致新电子科技(天津)有限公司 Automatic test method and system for intelligent televisions

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408380A (en) * 2018-09-30 2019-03-01 北京金山安全软件有限公司 Game system defect management method and device and electronic equipment
CN109408380B (en) * 2018-09-30 2022-04-19 北京金山安全软件有限公司 Game system defect management method and device and electronic equipment

Also Published As

Publication number Publication date
CN106776328B (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN103894350B (en) The partial volume screening method for group matching of cylindrical lithium battery
CN105607937B (en) A kind of hot patch method and apparatus
US20160345168A1 (en) Physical cell identifier allocation method and apparatus
CN106407203A (en) Method and device for identifying target terminal
CN105868589A (en) Script encryption method, and script running method and device
CN106776328A (en) A kind of method that BUG is associated with test case
CN106303709A (en) A kind of Set Top Box and application program updating method, system
CN104852909A (en) Attack detection rule opening method, and equipment
CN109977681A (en) A kind of fuzz testing system of fuzz testing method and unmanned plane towards unmanned plane
CN104408372B (en) A kind of mimicry application solutions system and method based on system reload
CN106021101A (en) Method and device for testing mobile terminal
CN103929732B (en) A kind of method and M2M gateways of management terminal peripheral hardware
CN106886446B (en) Software source code verification method and device
CN101482596A (en) Fast fault recognition method for multifactor industrial system
CN106533955B (en) A kind of sequence number recognition methods based on network message
CN105653908A (en) Implicit anti-debugging protection method
RU2010142001A (en) PROGRAM PROTECTION METHOD
CN116069514B (en) Deadlock avoidance method for flexible manufacturing system containing unreliable resources
CN108686369A (en) A kind of weiqi play chess method and system
CN106598799A (en) Fault injection simulation system and fault management system
CN104298418A (en) Displaying method and device for application program and terminal
CN107194094A (en) A kind of quick method that Color scheme is set in PCB design
CN105847018A (en) Automatic network adapter repeated disabling and enabling realizing method
Gladston et al. Test suite reduction using HGS based heuristic approach
CN108762826A (en) Process hiding method and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant