Testing Overview: The Importance of Contracts and Equivalence Classes in Unit Testing
DESCRIPTION
Explore the significance of contracts, logging, and equivalence classes in unit testing. Learn how preconditions, postconditions, and invariants play a crucial role in software development. Understand the value of regression testing and test-driven development.
1 / 24
Télécharger la présentation
Testing Overview: The Importance of Contracts and Equivalence Classes in Unit Testing
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
Chapter 10 Testing
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.
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
More Related