I\'m not doing much new development right now, but a lot of refactoring of older C# subsystems whose original requirements no longer support new and I\'ll add unexpected requirements. I\'m also now us
I was having problems with a second call on a mock in my test run, so I moved the double calls into the test method. I have this:
I\'m trying to test if the method I want to test calls some external (mock) object properly. Here is the sample code:
I have a COM library that I have to reference in开发者_JAVA百科 my app and I am trying to mock its interfaces.
Now this is just strange: The code as it is below works fine in a NUnit unit test with RhinoMocks (the assert passes).
I heard that latest 开发者_如何学Pythonstyle is AAA. Is there any other one? Why we use one and don\'t use another?The difference between the new AAA style and the old record/replay style is best unde
I\'m currently trying to implement StructureMap\'s AutoMocking functionality and I need help with getting the mocked .
Is it true 开发者_运维百科that mocking frameworks in general and Rhino mocking in specific only mocks interfaces and classes that have virtual method? For example can I mock following simple class:
I\'m very new at mocking and Rhino Mock. I searched for resources a开发者_StackOverflow中文版bout learning Rhino Mocks but not found an easy one. Does anyone knows any good resources to startDid you l
I\'m currently trying to get one of my unit tests to work, but there is one thing in the way. I have a class called AccountingScheduleLookup that has an ID field attached to it that\'s read-only. When