18
Test your assumptions!

4. Testing

  • Upload
    in4400

  • View
    58

  • Download
    2

Embed Size (px)

DESCRIPTION

4. Testing

Citation preview

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