Share this page
  • Share this page on Twitter Share this page on Facebook Share this page on Digg Share this page on Del.icio.us Read the Inside Microsoft Research blog
  • E-mail this page Print this page
  • RSS feeds
Home > Projects > Pex, Automated White box Testing for .NET
Pex and Moles - Isolation and White box Unit Testing for .NET

Pex and Moles are Visual Studio 2010 Power Tools that help Unit Testing .NET applications.

  • Pex automatically generates test suites with high code coverage. Right from the Visual Studio code editor, Pex finds interesting input-output values of your methods, which you can save as a small test suite with high code coverage. Microsoft Pex is a Visual Studio add-in for testing .NET Framework applications.

  • Moles allows to replace any .NET method with a delegate. Moles supports unit testing by providing isolation by way of detours and stubs. The Moles framework is provided with Pex, or can be installed by itself as a Microsoft Visual Studio add-in.

 
Download Pex and Moles Now!

What are Pex and Moles doing lately?

The Pex and Moles team has been quite busy working on productizing Moles. This will bring some changes to how things work internally, which has been delaying the next release of Pex. Until then, please keep sending bug reports to pexbug@microsoft.com, and ask questions on stackoverflow.

Thanks, The Pex Team

Try it out on the web: www.pexforfun.com

Pex for fun on the web is a radically simplified version of the fully featured Pex Power Tool for Visual Studio. You do not need to install anything; all the work happens in the cloud. You can write code in C#, Visual Basic, or F#. Go to www.pexforfun.com, which comes with a set of code puzzles. Then click on the “Ask Pex!” button to get the answer yourself. Share your puzzles with your friends. Click Learn to start tutorials.

Pex for fun

Pex in the news and blogs

Your post is not in the list? Drop us a link.

 

Current Version: 0.94.51023.0

Where are the MSDN forums?

We have decided to migrate our forums to stackoverflow.com in order to better build a community around Pex and Moles. Questions about Pex should be tagged with 'Pex' and Moles with 'Moles'...