Powered by Blogger.

Saturday, March 15, 2014

Bug Life Cycle in Testing



In this article we will discuss about what is Bug life cycle. You can also check my previous article on:

- What is Defect Age in software testing?

- Manual Testing interview question for HeadStrong

- QTP scripts examples

In the software development process, the bug has a life cycle. Befor closing a bug, it should go through the life cycle .The bug attains different states in the life cycle.

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 a bug is raised for the first time, its state will be “NEW”. It means that the bug is not yet approved.

2. Open:
When a tester raised a bug, and his lead approves that the bug is genuine.Then the lead 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 i.e for Re testing and Regression 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 travells through 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.



0 comments

Post a Comment