|
Project Information
Members
Featured
Downloads
Links
|
Doubler is a code generator (C# and VB.NET) that makes unit testing easier. It is especially useful when working with legacy code. It is a Reflector add-in, a tool already woven into your workflow. It will help you cleave dependencies apart, create test doubles, and write unit tests with little effort and less coding. Some of the features are:
o Property named Called of type Boolean that records if the method was called. o Properties for each parameter passed named in the following format Passed of the same type as the parameter. o Property named ReturnValue of the same type as return type of the subject method. If subject method is void this property is not created. When the method is called the this value is returned. o Property named ExceptionToThrow of type Exception. When the method is called if this property is not null the property value is thrown. |