Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool
Browse by Tags
All Tags »
.Net »
Rhino Mocks (
RSS)
-
|
When using a mocking tool like RhinoMocks, one of the features that it can provide is the ability to A) create a stub of an object and B) set expectations on Method/Property calls that are part of that method. Doing this is pretty easy, but like all things...
|
-
|
What do you do when you are writing a test for a piece of code that calls out to an ‘out of your control’ service such as a web service or email server? If you are like most of us, you simply allow your test to make the call and ‘hope’ that the service...
|
-
|
Today I finally had to create a mock of a web service proxy, what fun. Of course the first go at it failed because I did not think about the fact that the web service proxy is NOT serializable. This sucked, so what was I to do. Well, fortunately for me...
|
-
|
Over the past few months I have really started to believe in the use of Mocks. When I first started using mocks, I started with NMock (mostly because that is what we had at work). Shortly after that I started playing around with Rhino Mocks at home. Since...
|
More Posts