.NET tools, components, libraries and add-ins [NEW] My favorites| sign in | create your account  
ASP.NET hosting
Advertise here! Contact us to know the options

moq

 Home Page Home Page

Categories: Testing

Latest version: 3.0 Beta
Added 2008-01-30Updated 2009-02-05

Mocking library for developed from scratch to take advantage of .NET 3.5 (e.g. LINQ expression trees) and C# 3.0 features (e.g. lambda expressions).

Features include:
- Strongly-typed: no strings for expectations, no object-typed return values or constraints
- VS intellisense integration: everything supports full VS intellisense, from setting expectations, to specifying method call arguments, return values, etc.
- No Record/Reply idioms to learn. Just construct your mock, set your expectations, use it and optionally verify them
- Granular control over mock behavior with a simple enumeration
- Mock both interfaces and classes
- Override expectations: can set default expectations in a fixture setup, and override as needed on tests
- Pass constructor arguments for mocked classes
- Intercept and raise events on mocks
- Support for out/ref arguments

Built for .NET 2
Built for .NET 2
Library
Library
Free or free version available
Free or free version available
Source code provided
Source code provided
Advertise here! Contact us to know the options
Help the .NET community get a consensus on great tools. Display your favorite tools on your own website or on your blog.
Keep track of your favorite tools. Build your personal watch list.
Advertise here! Contact us to know the options
Hosted by Arvixe
part of the metaSapiens network: metaSapiens | .NET Jobs | Fabrice's weblog | .NET tools | Java tools | Dynamics AX tools | Tuneo | LINQ book | MapShares | BD indépendante | Parking partagé