Better Code Through Smart Assertions and Unit Tests

Download this episode

Download Video


Learn how to write better code and unit tests by using Code Contracts, Pex and Moles. Code Contracts provide a set of tools for design-by-contract programming. Pex is an advanced unit-testing tool that uses automated program exploration to intelligently create unit tests with high code coverage. Moles is a light-weight mocking framework that enables detouring with delegates. See how they work together so that your code has fewer defects.







Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.