Home Page
Categories: Testing
Latest version: 3.5
Added 2005-07-07Updated 2008-12-11
Dynamic mock object framework.
Rhino Mocks' purpose is to ease testing by allowing the developer to create mock implementations of custom objects and verify the interactions using unit testing.
Rhino.Mocks is based on EasyMock.Net and released under the same BSD license. It's a hybrid approach between the pure Record/Replay of EasyMock.Net's model and NMock's expectation-based model. One of the key features of Rhino Mocks is that it works with refactoring tools so changing your code won't break your tests.
Features include:
- Explicit record & replay model for expectations.
- Working with strongly typed mocks.
- Expectations based on: Arguments matching; Constraints matching; Custom callback to verify the expected arguments using your own code.
- Setting actions on methods, return specific value, or throw an exception.
- Assert Act Arrange syntax
 Built for .NET |
 Built for .NET 2 |
 Free or free version available |
 Source code provided |