A .Net dynamic fake framework for creating all types of fake objects, mocks, stubs etc. Easier semantics, all fake objects are just that, fakes. Usage determines whether they're mocks or stubs. Context-aware fluent interface guides the developer. Easy to use and compatible with both C# and VB.Net. Every faked instance looks and feels like an instance of the faked type. Helpful exception messages identify where a test went wrong. Raising events from faked objects. Explicit assertions, stated at the end of the test. Type-safe faking of classes that require constructor arguments. Automatic generation of dummy constructor arguments, if desired. Extensible facilities for fake and dummy creation and argument formatting. Use your fake as you would an instance of the faked type. Asserting uses the same syntax as configuring calls.
Features
- Creating a fake object is just dead easy!
- No mocks, no stubs, everything's a fake!
- Easily set up a call to return a value
- Use your fake as you would an instance of the faked type
- Asserting uses the same syntax as configuring calls
- There's no need to learn another syntax