In The Brain of Mike Hadlow - Rhino Mocks and Automocking

Your browser is not able to display this multimedia content.

Mike Hadlow talks about Rhino Mocks, which is currently the most popular Mock Object Framework for .NET. The talk focuses mostly over the new features that come with the version 3.5. Mike starts with quickly refreshing mocking basics and briefly overviewing the configuration that he uses (NUnit + TestDriven.Net).

Following topics include the suitable places to use mocks, the difference between mocks and stubs and how to use auto-mocking.

The 3 new features of Rhino Mocks that are explained in detail are: Arrange-Act-Assert, Argument Constraints, and WhenCalled. The relevant syntax changes and how to make use of them are shown on sample code.

The sample code can be downloaded from here. The documentation for version 3.5 is here. Also you can check Mike’s blog here.

 

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

bet replied on Mon, 2009/06/08 - 5:31am

Bookmaker in this market so feel free bet there everyoday. Just bet home and earn $1000 everyday. Be master of trading on betfair. Be rich be rich or die trying.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.