-
Visug : lightweight stubs & detours for .NET
Posted on November 11th, 2009 1 commentPeli De Halleux, a belgian guy now working at Microsoft Research (Redmond) came back in Belgium at the Visug to talk about the project he’s working on. Stubs, Moles and Pex form together a lightweight framework to test .NET applications.
Stubs
Stubs is a stubbing framework solely based on delegates. Various examples can be found here.
Moles
Here’s an example of what you can accomplish with Moles, allowing you to replace any .NET method :
Pex
And here, a diagram showing at a high-level view how Pex works :

Pex is an automated whitebox testing tool for .NET. From your code and parameterized unit tests, test code is automatically generated in C# and test results can be seen in the “input/output table”.
Project-related resources
I could copy-paste the great description of the project off the official website… But I instead recommend to those of you who are interested in this to take a look at the following resources, explaining you what Stubs, Moles and Pex are all about in the details.
Have a nice reading





Recent Comments