Presentation is loading. Please wait.

Presentation is loading. Please wait.

Software Testing Techniques Presented By Dr. Shazzad Hosain.

Similar presentations


Presentation on theme: "Software Testing Techniques Presented By Dr. Shazzad Hosain."— Presentation transcript:

1 Software Testing Techniques Presented By Dr. Shazzad Hosain

2

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

4

5 5 + 5 2 + 5 3 + …. 5 19

6

7

8

9

10

11

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

19

20

21

22

23

24

25

26 Up to This Point

27

28

29

30

31

32

33

34

35

36

37

38 References Chapter 14 of “Software Engineering – A Practitioner’s Approach”, Sixth Edition – by Roger S. Pressman


Download ppt "Software Testing Techniques Presented By Dr. Shazzad Hosain."

Similar presentations


Ads by Google