Mocha

I posted yesterday that I was dropping my own little custom mocking code and considering Mocha. A few hours later I made a pass at it and was blown away. It took very little time to convert my ~600 lines of tests to use Mocha and I spent most of that time just cleaning out the cruft that my mocking code had engendered.

I’m now a big fan of Mocha like I am of Rails. Ruby has a way of allowing coders to write magically polished libraries.

If you play any tabletop games (like D&D, Magic, and Settlers), visit my site NearbyGamers to find folks to game with.