Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Group info
Members: 79
Language: English
Group categories:
Computers > Software
Computers > Programming
More group info »
Home
New since last time: 3 messages

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 255 messages view all »
Undefined method `mock'
By Sonny Parlin - Nov 20 - 1 author - 1 reply
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
not all expectations were satisfied, but no problems listed
By James Mead - Oct 26 - 2 authors - 1 reply
stubbing object.errors['base']
By James Mead - Oct 26 - 3 authors - 2 replies
Mocha and Bacon
By James Mead - Oct 26 - 2 authors - 4 replies

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