This is a cool new feature that builds on Stubs, Pex and Code Contracts (in fact, it is really just a consequence of the interaction of the 3 technologies): stubs that act as parameterized models while complying to the interface contracts. Code Contracts provide contracts for interfaces. All implementations of that particular interface will be instrumented with the runtime … [Read more...] about Stubs as Parameterized Models with Contracts
Named Formats Pex Testimonium
implementation of a named formatter whose format strings are of the form {name} instead of {0} … [Read more...] about Named Formats Pex Testimonium
Row based testing in MbUnit (i.e. RowFixture)
This new functionality enables you to specify a tabular list of test cases that are to be feeded to the test method. It can be illustrated with the floating point division testing (as in the FIT framework Simple Example ): numerator denominator quotient() 1000 10 100.0000 -1000 10 -100.0000 1000 7 142.85715 1000 .00001 100000000 4195835 3145729 1.3338196 You can … [Read more...] about Row based testing in MbUnit (i.e. RowFixture)
Reflector Add-in Tutorial
In Reflector, an Addin is called a Package (IPackage interface). Each package can add multiple Windows (IWindow), which are the control appearing on the right, can add CommandBar items (ICommandBarItem, ICommandBarButton) to the context menus, and attach listeners to the event trigerred when the AssemblyBrowser changes of ActiveItem (IAssemblyBrowser.ActiveItemChanged). The … [Read more...] about Reflector Add-in Tutorial