Software Testing
Some of the slides taken from: 1) Software Engineering, Ian Sommerville, 9th Edition 2) Prof. Richard McKenna’s lecture on Test Driven Development at SBU
Software Testing Some of the slides taken from: 1) Software - - PowerPoint PPT Presentation
Software Testing Some of the slides taken from: 1) Software Engineering, Ian Sommerville, 9 th Edition 2) Prof. Richard McKennas lecture on Test Driven Development at SBU Topics covered Why do software projects fail? Development
Some of the slides taken from: 1) Software Engineering, Ian Sommerville, 9th Edition 2) Prof. Richard McKenna’s lecture on Test Driven Development at SBU
Software Testing 2 5/13/2019
5
6
Software Testing 7 5/13/2019
meets its requirements
reflect the system’s expected use.
not in conformance with its specification
exposes a defect in the system.
how the system is normally used.
Software Testing 8 5/13/2019
Software Testing 9 5/13/2019
Software Testing 10 5/13/2019
Software Testing 11 5/13/2019
Software Testing 12 5/13/2019
Software Testing 13 5/13/2019
Software Testing 14 5/13/2019
Software Testing 15 5/13/2019
Software Testing 16 5/13/2019
Software Testing 17 5/13/2019
Software Testing 18 5/13/2019
Software Testing 19 5/13/2019
Software Testing 20 5/13/2019
Software Testing 21 5/13/2019
Software Testing 22 5/13/2019
Software Testing 23 5/13/2019
2 4
Software Testing 25 5/13/2019
Software Testing 26 5/13/2019
Software Testing 27 5/13/2019
/* REQUIRES: x >= 0 && y >= 10 */ public static int calc(int x, int y) { ... }
x = 0, y = 10 (x == 0 && y == 10) x = 5, y = 10 (x > 0 && y == 10) x = 0, y = 15 (x == 0 && y > 10) x = 5, y = 15 (x > 0 && y > 10) x = -1, y = 10 (x < 0 && y == 10) x = -1, y = 15 (x < 0 && y > 10) x = -1, y = 9 (x < 9 && y < 10) x = 0, y = 9 (x == 0 && y < 10) x = 1, y = 9 (x > 0 && y < 10)
2 8
Software Testing 29 5/13/2019
Software Testing 30 5/13/2019
Software Testing 31 5/13/2019
Software Testing 32 5/13/2019
Software Testing 33 5/13/2019
3 4
Software Testing 35 5/13/2019
Software Testing 36 5/13/2019
Software Testing 37 5/13/2019
Software Testing 38 5/13/2019
Software Testing 39 5/13/2019
Software Testing 40 5/13/2019
Software Testing 41 5/13/2019
Software Testing 42 5/13/2019
Software Testing 43 5/13/2019
Software Testing 44 5/13/2019
Software Testing 45 5/13/2019
Software Testing 46 5/13/2019
Software Testing 47 5/13/2019
Software Testing 48 5/13/2019
Software Testing 49 5/13/2019
Software Testing 50 5/13/2019
51
52
53
54
Software Testing 56 5/13/2019