« At RailsEdge | Main | Antipattern: Something Stupid and Rapid Development »

January 28, 2007

Comments

Haakon

For mock objects in Ruby, the Mocha gem is by far the best mocking library I have used (http://mocha.rubyforge.org/). It's big wins are:

* you can mock methods on real classes, not just mock classes
* you can mock "any instance" of a class, making it possible to test code that does not use dependency injection
* you don't have to check expectations - they are automatically checked when the expectation goes out of scope.

Mocha is well worth exploring.

slicematt

Hi Ken - let us know if we can answer any questions for you.

LEGO Boy

just heard about deprec. Cool. Ubuntu... mmmmm...

that visor app sounds cool. downloading now.

michael jordan shoes

I liked this article, says is very reasonable

Janese

Hey, that post leaves me feelnig foolish. Kudos to you!

Canada Goose UK

This is a good subject to talk about. Sometimes I fav stuff like this on Redit. This article probably won’t do well with that crowd. I will be sure to submit something else though.

The comments to this entry are closed.