Download presentation
Presentation is loading. Please wait.
Published byMelanie Ball Modified over 9 years ago
1
Software Testing Techniques Presented By Dr. Shazzad Hosain
3
A good test has a high probability of finding an error A good test is not redundant A good test should be “best of breed” A good test should be neither too simple nor too complex
5
5 + 5 2 + 5 3 + …. 5 19
12
Basis set
13
Flow Graph
14
R1R1 R2R2 R3R3 R4R4 Conditions are not compound
15
Compound Logic Flow Graph IF a OR b THEN procedure x ELSE procedure y END IF a x b xy a or b xy
16
Deriving Test Cases Step 2: Determine the Cyclomatic Complexity Step 1: Draw the flow graph 6 regions
17
Step 3: Determine Basis Set of Paths
18
Step 4: Prepare Test Cases that will Force Execution of each Path in the Basis
26
Up to This Point
38
References Chapter 14 of “Software Engineering – A Practitioner’s Approach”, Sixth Edition – by Roger S. Pressman
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.