Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool
Browse by Tags
All Tags »
Rhino Mocks (
RSS)
-
|
-- UPDATE See text in red below -- Ok, I am in NO way trying to say that this is either Rhino's issue or MSTest. I am simply blogging this with the intent that someone can shed some insight as to what may be going on. Although, since I know that the...
|
-
|
I finally got around to downloading and playing with the forthcoming release of Rhino Mocks v3.5 (more info here from Ayende). The major changes to this version is that the syntax has been revamped to allow for the new language features in .Net 3.5. ...
|
-
|
I thought I would share a little nugget of greatness with RhinoMocks . Today I was in the process of mocking out a webservice call for an application I was working on. But the method I wanted to mock took a out parameter in its signature. ...
|
-
|
***** DISCLAIMER ***** The techniques and information here were not all thought up by me. I got a lot of this from Scott Hanselman's screencasts, and at looking at other MVC projects. I am only putting this into a post to have a single point of reference...
|
-
|
When following TDD, using mocking tools like RhinoMocks ( here ) or NMock ( here ) is a critical part of the process. By utilizing mocking tools you can better isolate your tests to only test the code that you have direct control over. This can prove...
|
-
|
As you may or may not know, I am a huge fan of Rhino Mocks. Well Ayende has put out Rhino Mocks 3.2 today. Check out more information on it here . You can download it here .
|
-
|
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