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

2 hours, 26 minutes, 34 seconds


Right click “Save as…”

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


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation

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.