Software Testing 4
Software Testing 4
Defect
• Inconsistency in behavior of s/w
• s/w doesn’t meet requirement
• Errors in coding or logic
• Expected result don’t match with actual results.
• Root causes of defects :
• --requirement are not well defined
• -Design or implementation are not proper
• --people are not trained
Defect Classification
• Requirement Defect : product fail to understand what is
required by customer
– Functional defect : absent of functionality
– Interface defect : user interface problems , like problem with
connectivity to others (hardware).
OPEN REVIEW
RESOLVED
CLOSED DEFFERED
• OPEN: when bug found by tester
• OPEN-RESOLVED : once programmer fixes the code
• RESOLVED-CLOSED : tester close the bug after verifying
• OPEN-REVIEW : CCB decide whether the bug should be fixed or not
• REVIEW- CLOSED : CCB decide that bug is not a real problem
• REVIEW-DEFERRED: CCB decide that bug should be fix in future ,
but not for this release of the s/w
• REIEW-OPEN: CCB decide that bug should be fix.
• RESOLVED – OPEN : tester find bug is not fix
• CLOSED – OPEN : bug may occur in future
• DEFERRED – OPEN: bug has to be fix in future.
Defect template
Defect Template
• 4 sections:
• 1.section : tester report
• -Defect id , Defect name , Date , Tester
• -Severity (1,2,3,4), Priority (1,2,3,4),
• -Description
• 2.section: Developer report
• -resolution(defect state)
• -resolved date , version , resolved by , comment
• 3.section : retesting report
• - retested by , version tested , comment
• 4.section: Signature
Severity : 1.Critical 2.Major 3.medium 4.low
Priority : 1. Critical 2.high 3.medium 4.low
• Example:
• 1.s/w crashes as soon as you start
• Severity -1 priority – 1