Code Contracts Primer – Part 3: Providing Support for Unit Tests(devlicio.us)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 11 months ago

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:

add a comment |category: |Views: 8

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story