alt
Advertisement
Online Training
Career Series
Exforsys
Exforsys arrow Tutorials arrow Testing arrow Bug Life Cycle & Guidelines
Site Search


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.

Trackback(0)
Comments (73)add comment

sudha77 said:

  Bug Lifecycle was defined very well.
July 05, 2006

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

sravani m said:

  hi
description was very good, great work and great help to me
January 27, 2007

SwAtHiBH @gmail said:

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

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

vanita said:

  very good
April 25, 2007

R Kumar said:

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

rahulrahul said:

  Hai ,

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

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

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

be_sure said:

  Good description to give an overview of bug life cycle.
very Nice
May 03, 2007

Asheesh Thapliyal said:

  Really very helpfull...
May 09, 2007

Naveenvs said:

  this is really helpful
May 10, 2007

omar said:

  Great Very Helpul.
May 21, 2007

prashant dobhal said:

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

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

rgopal said:

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

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 09, 2007

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

venu kumar said:

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

kishore kumar said:

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

Mitul Thesiya said:

  Yes, it is exactly as any bug tools follow
August 17, 2007

Maheshwaran said:

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

Prakashbabu said:

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

krkrishnareddy said:

  description is very good
September 18, 2007

bhawana said:

  bug life cycle defined very well and easy to understand
September 19, 2007

preethianish said:

  thank u ...explianed well....
September 20, 2007

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 04, 2007

ramki_VAM said:

  very understandable
October 04, 2007

Emmanuel Achikeh said:

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

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

kaligi said:

  sipmly superb
October 17, 2007

Rashmi GaddeGowda said:

  Its pleasing explanation.
October 19, 2007

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

pankaj kumar tripathi said:

  excellent information on Defect

October 24, 2007

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

Vivk chand said:

  where does status fixed comes
November 07, 2007

tushki said:

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

Aalekh Says: said:

  It's really good information.
November 15, 2007

Tester@1 said:

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

veena@03 said:

  Good explanation, easy to understand. Thanks
December 02, 2007

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 03, 2007

chetandpatil said:

  very good
December 11, 2007

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

Durairaj A said:

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

Veerendra Deshpande said:

  this explantion is very good.this is very help for me.
December 15, 2007

chandro said:

  clear notes
December 18, 2007

Kanchan bonde said:

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

vasant shivpur said:

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

Thiyagu nk said:

  Its very clear..good
December 27, 2007

LOKARAJ said:

  simply superb ,very very well...................................................................................................................
January 03, 2008

pawandeep singh said:

  Hi
It was very neat description with simplicity and easy to understand.
January 06, 2008

sanath said:

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

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

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

Sukhbir said:

  Superb....simple yet profound
February 10, 2008

GSK said:

  Vow... really nice explanation with Flow Chart
February 12, 2008

sakthi selvakumar said:

  Hip Hip hurray! Simply suberb
February 15, 2008

priayanka said:

  Very nicely explained....thats what i was looking for....
February 16, 2008

aarinari said:

  Bug life cycle very good
March 13, 2008

Priyanka S said:

  In this document bug lifecycle is explained very nicely..... good.
March 20, 2008

Ravi B said:

  Really very good explanation....
March 25, 2008

Siva Nagavardhan.Y said:

  good explanation, simply superb....
March 29, 2008

Kondiram said:

  Its very simple to understand.....a waiting for future best articles of yours...:)
April 09, 2008

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 07, 2008

Dr. Who said:

  It's very simple and easy to understand. Make my day is easier.
May 08, 2008

Dr. Who said:

  it's cool
May 08, 2008

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

patricia said:

  Difference between Severity and priority
May 20, 2008

suganth said:

  good n catchy.kep it up
June 11, 2008

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
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
June 26, 2008

abhijeet said:

  very good description........thanx a ton
July 07, 2008

George@satyam said:

  Good Explanation in simple language....
July 14, 2008

Write comment

busy
 
< Prev   Next >
Sponsored Links
© 2008 Exforsys.com
Joomla! is Free Software released under the GNU/GPL License.
Page copy protected against web site content infringement by Copyscape