unit testing - Rhino Mocks: Stub & Mocks. What is the difference -
I am using Rhino Mox in my unit test.
I want to know the differences between STUBS and MOCKS ( I think that was asked before. This is usually the same with the following differences: As the Rhino changed, it has been discouraged to use the strict Max, because they work very hard to maintain the test code. I do not get information about Rhino implementation, So I do not mark this question as a duplicate. mocks.Stub <>> and
mocks.StrictMock T & gt; ; () ).
stub ,
and
on AssertWasCalled properties. This behavior can also be configured on a normal mock. But this is the default for stubs.
Comments
Post a Comment