channel9spain

Microsoft PEX/MOLES & advanced Unit-Testing aspects 3/3

Download this episode

Download Video

Description

Unit Testing with Pex and Moles

TRAINER: Peli de Halleux – Microsoft Research

Pex enables parameterized unit testing for .NET: given a unit test with parameters. Pex generates inputs that achieves high code coverage. Moles is a framework that allows to isolate unit tests from environment dependencies: Moles allows to replace any .NET method with a delegate, even when the method is static, non-virtual or in a sealed type. Pex and Moles work on any .NET applications. Pex and Moles supports .NET v2.0, v3.5, v4.0, VS2008 and VS2010. The learning objectives of this class are:

Understand and write unit tests.
Use Moles to isolate unit tests.
Write Pex parameterized unit tests

Embed

Format

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.