ruby-spy

simple modern mocking library using the spy pattern

Description

Spy is a mocking library that was made for the modern age. It uses that uses the spy pattern and checks method's existence and arity: Spy by default will raise an error if you attempt to stub a method that doesn't exist or call the stubbed method with the wrong arity.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/ryanong/spy


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-spy