M6-QR-Code Based Testing 2
M6-QR-Code Based Testing 2
M6-QR-Code Based Testing 2
Methodologies
BITS Pilani Prashant Joshi
Data Flow Testing
• Statement Testing
• Branch Testing
• Multiple Condition Testing
• Loop Testing
• Path Testing
• Modified Path Testing (McCabe Path)
• Dataflow Testing
• Transaction Flow Testing
• Measure
• Understand
• Control
• Improve
9 Software Testing Methodologies
Millers Test Coverage Metrics
Metric Description of Coverage
C0 Every Statement
C1 Every DD-Path (DD-Path = Decision to Decision Path)
C1p Every predicate to each outcome
C2 C1 coverage + loop coverage
Cd C1 coverage + every dependent pair of DD-paths
CMCC Multiple Condition Coverage
Cik Every program path that contains up to k repetitions of a
loop (usually k=2)
Cstat “Statistically significant” fraction of paths
Cinfinity All possible execution paths