Registry / testing / mcmire-mocha

mcmire-mocha

JSON →
library0.9.8rbrubygemsunverified

Mocking and stubbing library with JMock/SchMock syntax, allowing mocking of methods on real classes.

gem install mcmire-mocha
INSTALL
IMPORT
SIG · MCMIRE-MOCHA
M
mcmire-mocha
testingrubyv0.9.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mocha
require 'mocha'

Set up a mock expectation

require 'mocha' object = Object.new object.expects(:method_name).returns('result')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.8latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
mcmire-mocha — gem install mcmire-mocha · libregistry