New Mocha Docs
Posted by James Mead Sun, 03 Sep 2006 18:20:00 GMT
Spurred on by Thorsten’s comment on Gluttonous’ blog and a mention of Mocha in the Top 5 Rails Stories of the Week, I’ve given the Mocha documentation a major overhaul.
Now the RDoc only shows the public API which should hopefully improve the signal-to-noise ratio and show how simple it is to use.
- Create traditional mock objects
- Set expectations on traditional mock objects
- Set expectations on real (non-mock) classes
- Make expectations more specific or define behaviour of stub
Good general information on mocking…
