Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Group info
Members: 84
Language: English
Group categories:
Computers > Software
Computers > Programming
More group info »
Home

Mocha is a library for mocking and stubbing in Ruby using a syntax like that of JMock.

 

It can be used with many testing frameworks e.g. Test::Unit, RSpec, test/spec, expectations, Dust and even JtestR.

 

Mocha provides a unified, simple and readable syntax for both traditional mocking and for partial mocking. 

 

Mocha was originally harvested from projects at Reevoo by me (James Mead) and my colleagues Ben Griffiths, Chris Roos and Paul Battley.


Documentation - Usage Examples, Traditional Mocking Example, Partial Mocking Example


GitHub Project - Pull Requests welcome.


Lighthouse Project - Bug Reports, Feature Requests, etc.


RunCodeRun Project - Continuous Integration Builds.


Rubyforge Project

Rails Plugin

 

Author's Blog 

 

Old Mailing List

Old Mailing List Archive

Old Bug Reports, Feature Requests, Patches

Discussions10 of 273 messages view all »
Expectation failure that has to be a bug
By James Mead - Dec 8 - 2 authors - 1 reply
Mocha multiple_yields with arrays
By James Mead - Dec 2 - 2 authors - 3 replies
Stub rails association.sum?
By James Mead - Nov 24 - 3 authors - 8 replies
Undefined method `mock'
By James Mead - Nov 23 - 2 authors - 4 replies
Exception raised by Mocha not being rescued
By floehopper - Nov 20 - 1 author - 0 replies
expects with same method but different arguments
By James Mead - Nov 12 - 2 authors - 1 reply
Test Spies
By jenshimmelreich - Nov 4 - 10 authors - 17 replies
Stubbing before_filters
By Curran Schiefelbein - Oct 29 - 2 authors - 4 replies
Stubbing DateTime Stops Execution?
By James Mead - Oct 28 - 2 authors - 1 reply

Report this group   XML       Send email to this group: mocha-developer@googlegroups.com
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google