Software Development Videos and Tutorials: Java, .NET, Ruby, Python, JavaScript, Agile, Software Testing
 
Code Contracts: Validating state with Assert, Assume, ForAll, Exists

Code Contracts: Validating state with Assert, Assume, ForAll, Exists

In this episode we are going to take a look at how to utilize some additional features in the Code Contracts library to validate the state of our application. We are going to focus our efforts here to learn how to use Assert and Assume to validate a given value in our code. We will also learn how to use ForAll and Exists, which can be used to validate content inside of an array or a collection.

http://www.dimecasts.net/Content/WatchEpisode/172