Mock Objects
Andy Marks gave a nice presentation at the local AJUG on the different Mock frameworks available. I had looked briefly at setting up a Mock framework at work to support some ugly integration testing. After having a look, I went with EasyMock, because
- Steve Hayes had recommended it to me when he was last here
- It had documentation that I could follow
OT: It had been over a year since I last went to an AJUG meeting. Nice to see lots of familiar faces still there and a few new ones as well.

4 Comments:
Your refactoring tools probably won't be able to refactor the method sends that are encoded as strings. That's a deal breaker for me.
There was some debate on whether or not this is a good thing or a bad thing. Yes, the tools may not be able to refactor your tests, but then something might not refactor the way you want. I don't really know for certain, but will have to give this some thought.
WRT refactoring tools -- IntelliJ does pick up strings when doing a refactoring, therefore handling the method name refactoring problem.
Ah, so a real IDE can handle this sort of thing. 8)
I'm hearing more and more good things about IntelliJ from people whose opinion I respect. Seems it does alot of small subtle things well, which makes it a better product then Eclipse.
Post a Comment
Links to this post:
Create a Link
<< Home