Exforsys.com
 
Home Tutorials Testing
 

Bug Life Cycle & Guidelines

 

Bug Life Cycle & Guidelines

In this tutorial you will learn about Bug Life Cycle & Guidelines, Introduction, Bug Life Cycle, The different states of a bug, Description of Various Stages, Guidelines on deciding the Severity of Bug, A sample guideline for assignment of Priority Levels during the product test phase and Guidelines on writing Bug Description.



Introduction:

Bug can be defined as the abnormal behavior of the software. No software exists without a bug. The elimination of bugs from the software depends upon the efficiency of testing done on the software. A bug is a specific concern about the quality of the Application under Test (AUT).


Bug Life Cycle:

In software development process, the bug has a life cycle. The bug should go through the life cycle to be closed. A specific life cycle ensures that the process is standardized. The bug attains different states in the life cycle. The life cycle of the bug can be shown diagrammatically as follows:



The different states of a bug can be summarized as follows:


1. New
2. Open
3. Assign
4. Test
5. Verified
6. Deferred
7. Reopened
8. Duplicate
9. Rejected and
10. Closed


Description of Various Stages:

1. New: When the bug is posted for the first time, its state will be “NEW”. This means that the bug is not yet approved.


2. Open: After a tester has posted a bug, the lead of the tester approves that the bug is genuine and he changes the state as “OPEN”.


3. Assign: Once the lead changes the state as “OPEN”, he assigns the bug to corresponding developer or developer team. The state of the bug now is changed to “ASSIGN”.


4. Test: Once the developer fixes the bug, he has to assign the bug to the testing team for next round of testing. Before he releases the software with bug fixed, he changes the state of bug to “TEST”. It specifies that the bug has been fixed and is released to testing team.


5. Deferred: The bug, changed to deferred state means the bug is expected to be fixed in next releases. The reasons for changing the bug to this state have many factors. Some of them are priority of the bug may be low, lack of time for the release or the bug may not have major effect on the software.


6. Rejected: If the developer feels that the bug is not genuine, he rejects the bug. Then the state of the bug is changed to “REJECTED”.


7. Duplicate: If the bug is repeated twice or the two bugs mention the same concept of the bug, then one bug status is changed to “DUPLICATE”.


8. Verified: Once the bug is fixed and the status is changed to “TEST”, the tester tests the bug. If the bug is not present in the software, he approves that the bug is fixed and changes the status to “VERIFIED”.


9. Reopened: If the bug still exists even after the bug is fixed by the developer, the tester changes the status to “REOPENED”. The bug traverses the life cycle once again.


10. Closed: Once the bug is fixed, it is tested by the tester. If the tester feels that the bug no longer exists in the software, he changes the status of the bug to “CLOSED”. This state means that the bug is fixed, tested and approved.


While defect prevention is much more effective and efficient in reducing the number of defects, most organization conducts defect discovery and removal. Discovering and removing defects is an expensive and inefficient process. It is much more efficient for an organization to conduct activities that prevent defects.


Guidelines on deciding the Severity of Bug:

Indicate the impact each defect has on testing efforts or users and administrators of the application under test. This information is used by developers and management as the basis for assigning priority of work on defects.


A sample guideline for assignment of Priority Levels during the product test phase includes:


  1. Critical / Show Stopper — An item that prevents further testing of the product or function under test can be classified as Critical Bug. No workaround is possible for such bugs. Examples of this include a missing menu option or security permission required to access a function under test.
    .
  2. Major / High — A defect that does not function as expected/designed or cause other functionality to fail to meet requirements can be classified as Major Bug. The workaround can be provided for such bugs. Examples of this include inaccurate calculations; the wrong field being updated, etc.
    .
  3. Average / Medium — The defects which do not conform to standards and conventions can be classified as Medium Bugs. Easy workarounds exists to achieve functionality objectives. Examples include matching visual and text links which lead to different end points.
    .
  4. Minor / Low — Cosmetic defects which does not affect the functionality of the system can be classified as Minor Bugs.


Guidelines on writing Bug Description:

Bug can be expressed as “Result followed by the action”. That means, the unexpected behavior occurring when a particular action takes place can be given as bug description.


  1. Be specific. State the expected behavior which did not occur - such as after pop-up did not appear and the behavior which occurred instead.
  2. Use present tense.
  3. Don’t use unnecessary words.
  4. Don’t add exclamation points. End sentences with a period.
  5. DON’T USE ALL CAPS. Format words in upper and lower case (mixed case).
  6. Mention steps to reproduce the bug compulsorily.

Read Next: Technical Terms Used in Testing World



 

 

Comments


sudha77 said:

  Bug Lifecycle was defined very well.
July 5, 2006, 4:43 am

rvvkprasad said:

  the life cycle of the bug is defined well with various stages. i like this bug life cycle. we can follow this bug life cycle for the interviews.
August 15, 2006, 5:49 am

indhiroh said:

  The explanation was really helpful.
October 17, 2006, 6:50 am

vikasitian said:

  hi.
the topic "bug life cycle" is really so good. it has no confusions and everything is written in a very simple and proper manner.
November 17, 2006, 2:12 am

Arasu said:

  A very good explanation .Given in simple english such that every one can understand.
December 19, 2006, 5:57 am

sravani m said:

  hi
description was very good, great work and great help to me
January 27, 2007, 11:15 am

SwAtHiBH @gmail said:

  It was very neat description with simplicity and easy to understand.
April 20, 2007, 1:56 am

veeranath said:

  The way you have given the description is very good and marvelous, its an interesting matter and this matter helps me alot..thanks for giving me nice information...
April 22, 2007, 11:56 pm

vanita said:

  very good
April 25, 2007, 1:52 am

R Kumar said:

  Hai
The description of bug life cycle is very good and understand, and also satisfied very much.
April 26, 2007, 12:38 am

rahulrahul said:

  Hai ,

here i learned complete bug life cycle its very good and neatly explained . Thank you
April 30, 2007, 5:03 am

Laxman Teegala said:

  when the bug is new, QA lead cannot assign the status OPEN or assign to the developer.
It is the development manager or lead who assigns the bug.
April 30, 2007, 11:11 am

prashant rawat said:

  hi!!
well the description was simple and covered the entire aspect of bug life cycle. thankyou and keep up the good work.
April 30, 2007, 11:26 am

be_sure said:

  Good description to give an overview of bug life cycle.
very Nice
May 3, 2007, 3:49 am

Asheesh Thapliyal said:

  Really very helpfull...
May 9, 2007, 12:52 am

Naveenvs said:

  this is really helpful
May 10, 2007, 4:46 am

omar said:

  Great Very Helpul.
May 21, 2007, 10:45 pm

prashant dobhal said:

  the content you use in whole life cycle is very easy to understand it really sounds well.
May 28, 2007, 2:01 am

Noel said:

  It is crystal clear....even a lay man can understand now...what is bug life cycle....hats up...to the website...very informative
May 31, 2007, 8:28 am

rgopal said:

  bug life cycle is very clear and easy understandable
thanks for that
June 13, 2007, 10:50 am

sheikh asgher ali said:

  Hi: This is sheikh Asgher Ali from Bangalore,
could you please elaborate more on Deferred bug. Its not very clear to me, e.g from you definition if the bug is expected to be fixed in next release, and it is not fixed thats the reason it is marked as Deferred due to low impact in software.

Looking forward from you,

Regards, Asgher.
July 9, 2007, 5:45 am

Sachit Naik said:

  Hi,
Finally I got what Iwas searching for "Bug Life Cycle"........It's too good to to have the knowldge in very short period of time and you have mentained the simplicity with the appropriate explanation. It is very useful for every one right from fresher to Experienced tester....Thanks!!!!!!! :)

Sachit..... 91-9960364300
July 11, 2007, 3:44 am

venu kumar said:

  The description was very easy to grasp and yet powerful....
thanks..
July 23, 2007, 8:05 am

kishore kumar said:

  Really a cyclic real time approach,easy to read and more effective
August 13, 2007, 8:33 am

Mitul Thesiya said:

  Yes, it is exactly as any bug tools follow
August 17, 2007, 4:40 am

Maheshwaran said:

  The explained bug life cycle will be very useful for novice testers.
August 31, 2007, 4:21 am

Prakashbabu said:

  Nice,it's very useful of improve my knowledge.Thank's lot....
August 31, 2007, 6:12 am

krkrishnareddy said:

  description is very good
September 18, 2007, 12:47 am

bhawana said:

  bug life cycle defined very well and easy to understand
September 19, 2007, 1:08 am

preethianish said:

  thank u ...explianed well....
September 20, 2007, 8:06 am

Vishal Bhandary said:

  According to the Description of Various Stages the reopen should have an input (arrow) from the 'Verify' stage instead of the 'Test' stage. That would make the flow diagram much more meaningful
October 4, 2007, 12:36 am

ramki_VAM said:

  very understandable
October 4, 2007, 6:37 am

Emmanuel Achikeh said:

  Your explanation of bug tracking methods are very simple and understandable. Thanks
October 15, 2007, 7:12 pm

chiruweb said:

  Here the bug life cycle is explained detailed with explanation of different stages and statuses.
it's very well understandable explanation.
October 17, 2007, 12:35 am

kaligi said:

  sipmly superb
October 17, 2007, 3:55 am

Rashmi GaddeGowda said:

  Its pleasing explanation.
October 19, 2007, 7:35 am

sans said:

  hello it was very informative and quite helpful we expect such answers as it would really be a boost for the readers also a piece of information interesting for that reason they ultimately seek help in this site. really wonderful
October 23, 2007, 4:16 pm

pankaj kumar tripathi said:

  excellent information on Defect

October 24, 2007, 7:00 am

Vivek Sai Sakthi said:

  Bug life cycle has been explained as we expected.Knowledge searcher can come to end if he searched about bug life cycle. Keep going with quality for quality.
October 30, 2007, 5:30 am

Vivk chand said:

  where does status fixed comes
November 7, 2007, 1:35 am

tushki said:

  good explanation,however few eg should have also been added which would have realised the concenpt
November 15, 2007, 1:12 am

Aalekh Says: said:

  It's really good information.
November 15, 2007, 6:41 pm

Tester@1 said:

  good explanation for the deciding the Severity of Bug and also brief and nice guidelines on bug description.
November 20, 2007, 6:37 am

veena@03 said:

  Good explanation, easy to understand. Thanks
December 2, 2007, 8:35 am

susheel chowdary said:

  This is pretty much clear cut description given for the Bug Life cycle such kind of things are very much useful for people who come into this testing platform
December 3, 2007, 5:09 am

chetandpatil said:

  very good
December 11, 2007, 10:59 pm

Durairaj A said:

  BLC is explained in easy manner. It helped me a lot to understandard the BLC clearly. THANKS A LOT.
December 12, 2007, 12:34 am

Durairaj A said:

  It helped me a lot to understand the BLC clearly. THANKS.
December 12, 2007, 12:38 am

Veerendra Deshpande said:

  this explantion is very good.this is very help for me.
December 15, 2007, 12:47 am

chandro said:

  clear notes
December 18, 2007, 9:00 am

Kanchan bonde said:

  This explanation about "BUG LIFE CYCLE" is very clear and easy to understand.
It is really helpful.
December 19, 2007, 2:42 am

vasant shivpur said:

  this topic short and sweet .It gives more information in simple words .
keepit up!
December 24, 2007, 12:45 am

Thiyagu nk said:

  Its very clear..good
December 27, 2007, 3:34 am

LOKARAJ said:

  simply superb ,very very well...................................................................................................................
January 3, 2008, 8:09 am

pawandeep singh said:

  Hi
It was very neat description with simplicity and easy to understand.
January 6, 2008, 7:16 am

sanath said:

  Hey..
Great ...its really clear. could well understood..of a bug life cycle...
January 10, 2008, 1:37 am

Ratish S Nair said:

 
The Bug Life Cycle has been explained well, however i think in Description of Various Stages, author has mentioned contradictory statement in 8th & 10th Stages of a Bug, i.e Verified & Closed.
January 24, 2008, 12:27 am

Nilesh Kulthe said:

  The discription given by u is very nice with very easy language. Every can get it in first reading. I am very thankful to u bcoz it helps me. Great ...its really clear. could well understood..of a bug life cycle...
January 30, 2008, 11:50 pm

Sukhbir said:

  Superb....simple yet profound
February 10, 2008, 3:37 pm

GSK said:

  Vow... really nice explanation with Flow Chart
February 12, 2008, 1:30 am

sakthi selvakumar said:

  Hip Hip hurray! Simply suberb
February 15, 2008, 8:24 am

priayanka said:

  Very nicely explained....thats what i was looking for....
February 16, 2008, 2:10 am

aarinari said:

  Bug life cycle very good
March 13, 2008, 3:44 am

Priyanka S said:

  In this document bug lifecycle is explained very nicely..... good.
March 20, 2008, 2:03 am

Ravi B said:

  Really very good explanation....
March 25, 2008, 7:23 am

Siva Nagavardhan.Y said:

  good explanation, simply superb....
March 29, 2008, 10:07 am

Kondiram said:

  Its very simple to understand.....a waiting for future best articles of yours...:)
April 9, 2008, 4:33 am

Manjunath RC said:

  1) A tester finds a bug and reports it to Test Lead.
2) The Test lead verifies if the bug is valid or not.
3) The bug is verified and reported to development team with status as ‘New’.
4) The development leader and team verify if it is a valid bug. The bug is valid and the development leader assigns a developer to it marking the status as ‘Assigned’.
5) The developer solves the problem and marks the bug as ‘Fixed’ and passes it back to the Development leader.
6) The development leader changes the status of the bug to ‘Pending Retest’ and passes on to the testing team for retest.
7) The test leader changes the status of the bug to ‘Retest’ and passes it to a tester for retest.
8) The tester retests the bug and the same problem persists, so the tester after confirmation from test leader reopens the bug and marks it with ‘Reopen’ status. And the bug is passed back to the development team for fixing
May 7, 2008, 12:07 am

Dr. Who said:

  It's very simple and easy to understand. Make my day is easier.
May 8, 2008, 8:14 pm

Dr. Who said:

  it's cool
May 8, 2008, 9:18 pm

SUNIL SHARMA said:

  This article gives exect meaning of bug life cycle. this article is very useful for the beginners.
say very good to the author of this article
May 10, 2008, 12:35 am

patricia said:

  Difference between Severity and priority
May 20, 2008, 6:01 am

suganth said:

  good n catchy.kep it up
June 11, 2008, 2:03 pm

sridhar raghava said:

  now i understand clear meaning abour BUG LIFE CYCLE this answer is very clear and very easy.For freshers this answer will very helpful.
Thanks for this web site
sridharraghava@gmail.com
June 26, 2008, 12:14 pm

abhijeet said:

  very good description........thanx a ton
July 7, 2008, 6:08 am

George@satyam said:

  Good Explanation in simple language....
July 14, 2008, 10:53 pm

Saurabh said:

  very good description.. and it very usefull...thanx buddy
November 21, 2008, 3:50 am

gayathri said:

  Bug Lifecycle explained excellently
December 16, 2008, 9:12 am

Ahmed El-Alfi said:

  Really thank you
January 1, 2009, 6:48 am

Shrimant said:

  covered all the aspects in simple words
January 6, 2009, 6:07 am

Arshad Shaikh said:

  The concept of bug life cycle is explained beautifully
January 7, 2009, 3:23 am

Shivika said:

  Excellent.Quite explanatory
January 8, 2009, 12:26 pm

rounak bhasin said:

  gr8 description. precise n easy to understand.
January 18, 2009, 4:24 pm

anni said:

  very nice expressed , valuable, any one can understand easily...

thanx a lot...
January 26, 2009, 7:39 am

Aakash said:

  Thanks a lot for nice and simple description but I think you missed to write about 'Priority' part of the Bug.

February 3, 2009, 1:38 pm

Sujatha said:

  Sheik,
Here is the explanation for Deferred Bug. Suppose if you are testing some application and you encounterd some abnormal behaviour which is not as per the expectations.So you raise the defect and assigned it to the concerned developer. But if he confims the bug has nothing to do with his current code changes, i.e it was already in production and found only during the current release so he can reject it by choosing 'Deferred', so that the same can be fixed in the next release or later som time.

Hope this clarifies your doubt.

Thanks
Sujatha
March 24, 2009, 11:39 am

Luis Gorres said:

  There needs to be an explanation regarding the difference between "STATE" and "STATUS". Most automated defect tracking software have these elements. The list provided in this write up mixes the two together. The State can be OPEN, WORKING, RETURNED, or CLOSED in the most basic sense. Statuses are dictated by where the defect is in the life cycle and who is working on the defect (assigned to the defect). Within the different STATES the status can change from New to assigned, verified, tested etc...
June 1, 2009, 11:18 am

SriTest said:

  There is one thing missing. That is if the developer doesn't nderstand the explanation of the defect or may need more details like the steps executed, exact data that was entered etc, the developer should be able to return the defect to the tester by changing the status of the defect as "INFO REQUIRED". And then the tester will enter more details, answer developer's questions and changes the status to "INFO UPDATED". These steps should be in between ASSIGN and TEST.
August 26, 2009, 5:25 pm

devanand.p said:

  I do agree with this life cycle. If the developers doesnt understand the explanation given for the defect he could change the status to "CLARIFICATION REQUIRED". If the same has been clarified this has to be moved to "CLARIFICATION PROVIDED". May be these kind of status will differ from organisation to organisation.
September 23, 2009, 4:29 am

Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2009 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape