Top Banner
Test your assumptions!
18

4. Testing

Nov 20, 2014

Download

Education

in4400

4. Testing
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 4. Testing

Test your assumptions!

Page 2: 4. Testing

What could go wrong?

Page 3: 4. Testing

= what should you test!

Page 4: 4. Testing

Bounds for numbers can be tested

Page 5: 4. Testing
Page 6: 4. Testing

Can we sell more than there is in stock?

Page 7: 4. Testing

How to test?There are two different ways

Page 8: 4. Testing

Conditional formatting

Page 9: 4. Testing

Checks

Page 10: 4. Testing

In software these are called ‘guards’

Page 11: 4. Testing

Guards

Page 12: 4. Testing

But, not all guards are useful ones

Page 13: 4. Testing
Page 14: 4. Testing

Other things to test

Page 15: 4. Testing

Assumptions

Page 16: 4. Testing
Page 17: 4. Testing

Input

Page 18: 4. Testing