Sunday, September 09, 2012

Do your unit testing with Rhino Mocks

Mock object can be used with .NET framework and utilize in all kinds of .net unit testing, Normally real object call is slow because of lots other dependency like libraries, db etc.also if real object is not 100% ready. In all that scenario Rhino Mocks framework can be used.For functional testing you have to have real object ready and for unit testing Rhino Mock is the best and quick solution.Using rhino mock you can simply create mock object and from the caller method you can call mock object instead of calling real object.to know more about Rhino Mock you can refer following links