Pex finds interesting input-output values of your methods, which you can save as a small test suite with high code coverage.
Getting Started
- Download and install Pex (Program EXploration)
- Follow the Getting Started guide to use Pex in your projects
About Pex – Automated White Box Testing for .NETsee all DevLabs projects…
Pex (Program EXploration) produces a traditional unit test suite with high code coverage. A parameterized unit test is simply a method that takes parameters, calls the code under test, and states assertions. Given a parameterized unit test written in a .NET language, Pex automatically produces a small unit test suite with high code and assertion coverage. To do so, Pex performs a systematic white box program analysis.
Pex learns the program behavior by monitoring execution traces, and uses a constraint solver to produce new test cases with different behavior. At Microsoft, this technique has proven highly effective in testing even an extremely well-tested component.
Play with Pex, stress it, evaluate it, and tell us what you think.
Requirements
- Operating System: Windows Vista 32bit / 64bit (on x64, only 32-bit (Wow64) processes are supported)
- Development Tools: Visual Studio 2010 Team Suite, Team Test, Team Dev Editions