Gimme
Gimme is a test double library designed to help you write isolated unit specs for your Ruby code.
Here are a few examples:
- Basic usage
- Argument matchers (and argument captors)
- Stubbing and verifying class methods
Todo:
- Overriding method existence checks with ! (e.g.
give!()orverify!()) - Stubbing the next
new'ing of a type (e.g.gimme_next(Dog))
In this section
Source: features/README.md at commit f95ebe72, Gimme (MIT license).