Error!
Success!

Code Contracts Primer – Part 3: Providing Support for Unit Tests

0
kicks

Code Contracts Primer – Part 3: Providing Support for Unit Tests  (Unpublished)

In this post we are going to take a look at how you can setup your unit tests to handle violations from your contracts. If you do not provide any additional support in your code and you violate a contract at test time you will see a dialog like the one below:


Kicked By:
Drop Kicked By: