1 / 24

Chapter 10

Chapter 10 . Testing. Overview. The First Computer Bug. Fail Early. Contracts. Contracts. preconditions - relationships that must hold before a function is executed, postconditions - relationships that must hold after a function is executed,

dawn-mack
Download Presentation

Chapter 10

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 10 Testing

  2. Overview

  3. The First Computer Bug

  4. Fail Early

  5. Contracts

  6. Contracts preconditions - relationships that must hold before a function is executed, postconditions- relationships that must hold after a function is executed, invariants - relationships that must hold while a function is executed.

  7. Contracts

  8. Contracts

  9. Logging

  10. Logging

  11. Log Categories

  12. Logging

  13. Logging

  14. Logging

  15. Logging Output

  16. Unit Testing

  17. Unit Testing

  18. Unit Testing

  19. Unit Testing

  20. Unit Testing

  21. Equivalence Classes The equivalence classes we might consider for this code include: even positive numbers odd positive numbers even negative numbers odd negative numbers zero

  22. Equivalence Classes

  23. Regression Testing

  24. Test Driven Development

More Related