Professional Documents
Culture Documents
1
Defect Management
Defect:
– Deviation between expected behaviour to actual behaviour is called defect.
Defect- Review:
– The software doesn’t do something that the product specification says it
should do.
– The software does something that the product specification doesn’t mention.
2
Defect Management
Defect:
– Deviation between expected behaviour to actual behaviour is called defect.
Defect- Review:
– The software doesn’t do something that the product specification says it
should do.
– The software does something that the product specification doesn’t mention.
3
Defect Management
Examples of Defects:
• User gives wrong / incomplete requirements.
• Errors in coding
4
Defect Management
Software Bug:
– A fault in a program which causes the program to perform in an un-intended
manner.
5
Defect Management
Error:
1. The stage of system from where further action of system will lead it to
failure.
2. Misleading of specs
6
Defect Management
Error Contd…:
4. It may be
1. Actual bugs in the code
2. Calculation errors
5. Testing errors
7
Defect Management
Fault:
8
Defect Management
Failure:
9
Defect Management
10
Defect Management
11
Defect /Bug Life Cycle
In Next Version
Is it is Is it is Is it is
Test Lead Review a valid in already Test Lead Assign
Defect Defect scope raised
NO
Defect to Dev Team
YES YES
R
E Assigned
G
R
E
S
S During Bug Fixing
I
O Re-Open
N
Fail Open
Pass
Closed Re-
Testing Fixed Bug Fixed
Test Lead 12
Incident/Defect Management
Defect /Bug Life Cycle
New Tester
Fixed Developer
No
Fixed?
Yes
Close Tester
13
Defect Management
Defect/ Bug Status:
• The software defect reported by a tester need to be addressed properly, and this
is done with help of a systematic defect life cycle.
• New: The bug is in the “New” state when it is detected first time. The tester
logs the bug with the status as ‘New’ in the defect report.
• Duplicate – If the same defect is already reported by any other tester , defect
can be closed by changing it’s status as ‘Duplicate’.
• Deferred - Though the defect is valid, if the defect is not so important and it
is decided not to fix it and may be fixed in the next version, the status of a
defect is ‘Deferred’. 14
Defect Management
• Fixed – Depending of the priority, when the developer will make the
changes to the application to remove the defect, the status of a defect will be
changed as ‘Fixed’ which is reviewed by the development lead and it is
forwarded to the test lead.
15
Defect Management
– The tester checks whether the bug is fixed or not. If yes then the status is
changed to ‘Closed’.
• Reopen :
– If the bug is not fixed, the tester changes the status to ‘Reopen’.
• Rejected:
– The test lead reviews the bug, and, if the bug is not valid then the state is
changed to ‘Rejected’.
16
Defect Management
Defect Severity:
17
Defect Management
How to decide severity?
18
Defect Management
Defect priority:
– The order in which the defect has to be resolved is called defect
priority.
19
Defect Management
How to decide Priority?
20
Defect Management
Defect Report Attributes:
8. Priority
1.Defect Id
9. Summary/Description
2.Project Name
10.Steps to Re-Produce
3.Module Name
11.Status
4.Sub-module Name
12.Reported by/on
5.Phase
13.Assigned to
6.Type
14.Cc to
7.Severity
15. Screen Shot
21
Defect Management
Defect Report Template:
22
Defect Management
Defect Report Advantages:
23
Defect Management
Defect Tracking Tools:
1. Test Director
2. Rational Clear Quest
3. Bugzilla
4. Excel Sheet
5. Quality Center (QC)
6. Application Life Cycle Management (ALM)
24
Review Questions
a) TRUE
b) FALSE
All the ‘severity 1‘ defects should be fixed earlier than the ‘priority
1’ defects.
a) TRUE
b) FALSE
25
Question and Answer
26