Introduction
A defect is a specific concern about the quality of an Application Under Test (AUT).
Defect can be defined as an inconsistency in the behavior of the software. No software exists without a defect or bug. The elimination of bugs from the software depends upon the efficiency of testing done on the software. A defect is basically the difference between the expected result and the actual result.
The cost of finding and correcting defects represents one of the most expensive software development activities. For the foreseeable future, it will not be possible to eliminate defects. While defects may be inevitable, we can minimize their number and impact on our projects. To do this, development teams need to implement a defect management process that focuses on preventing defects, catching defects as early in the process as possible, and minimizing the impact of defects. A little investment in this process can yield significant returns.
Defect Life Cycle
The bug has a life cycle in software development process. 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:
- New
- Open
- Assign
- Test
- Verified
- Deferred
- Reopened
- Duplicate
- Rejected
- Closed
Description of Various Stages
- New : When the bug is posted for the first time, its state will be "NEW". This means that the bug is not yet approved.
- Open : After a tester has posted a bug, the lead of the tester approves that the bug is genuine and he changes the state to "OPEN".
- Assign : Once the lead changes the state to "OPEN", he assigns the bug to corresponding developer or developer team. The state of the bug now is changed to "ASSIGN".
- Test : Once the developer fixes the bug, he has to assign the bug to the testing team for the next round of testing. Before he releases the software with the bug fixed, he changes the state of the bug to "TEST". It specifies that the bug has been fixed and is released to the testing team.
- Deffered : When the bug is changed to the deferred state, the bug is expected to be fixed in future releases. The reasons for changing the bug to this state has many factors. Some of them are the priority of the bug may be low, a lack of time for the release or the bug may not have a major effect on the software.
- 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".
- 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".
- 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".
- 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.
- 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.

Meet AgarwalPosted Oct 28, 2012, 11:02 PM
Thanks
selvamPosted Oct 27, 2012, 6:56 AM
nice