Saturday 5 September 2015

Defect Life Cycle

Defect:
It is a variance from desired product quality. It is a situation where the system doesn't behave as indicated in the specifications declared by business Analysts. It is non confirmance of the software to it's requirements. Defects can be classified by Category,defects by Phase of origin, Severity , priority and type,Defects generally involve poor programming of the software , Poor requirements, Missing requirements, missed defects in testing and misinterpreted  customer request and tested usage scenarios. 
Defect Report:
Testers report the errors to developers when they find variation  of software products or it's components with specifications and standards. generally based on these reports developer fixes the bug in the software
When tester logs any new bug the mandatory fields are:
  • Build version, Submit On, Product, Module, Severity, Synopsis and Description to Reproduce
  • In above list you can add some optional fields if you are using manual Bug submission template:
  • These Optional Fields are: Customer name, Browser, Operating system, File Attachments or screenshots.


Defect Life cycle :
Defect life cycle is a cycle which a defect goes through during its lifetime. It starts when defect is found and ends when a defect is closed, after ensuring it’s not reproduced. Defect life cycle is related to the bug found during testing. The duration between the identification of the defect and the successful fixing of the defect is nothing but defect Life cycle.
New:
When a defect is logged and posted for the first time. It’s state is given as new. I mean if we detect the defect then the status of the bug is defined as "New".
Assigned: 
After the tester has posted the bug, the lead of the tester approves that the bug is genuine and he assigns the bug to corresponding developer and the developer team. It’s state given as Assigned. That means in this state we are assigning the bug to developer.
Open: 
At  this state the developer has started analyzing and working on the defect  to fix it . As the bug is opened we define this state as Open
Fixed:  
When developer makes necessary code changes and verifies the changes then he/she can make bug status as ‘Fixed’ and the bug is passed to testing team.
Pending retest: 
After fixing the defect the developer has given that particular code for retesting to the tester. Here the testing is pending on the testers end. Hence its status is pending retest.
Retest:  
At this stage the tester do the retesting of the changed code which developer has given to him to check whether the defect got fixed or not.
Verified: 
The tester tests the bug again after it got fixed by the developer. If the bug is not present in the software, he approves that the bug is fixed and changes the status to “verified”.
Reopen: 
If the bug still exists even after the bug is fixed by the developer, the tester changes the status to “reopened”. The bug goes through 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.
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“.
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”.
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. 
Not a bug:  
The state given as “Not a bug” if there is no change in the functionality of the application. For an example: If customer asks for some change in the look and field of the application like change of color of some text then it is not a bug but just some change in the looks of the  application.
.

No comments:

Post a Comment