storymock
v0.0.3
Published
Create scriptable mock objects easily
Downloads
9
Readme
storymock
A small library to make it very easy to create scriptable mock objects that expect a certain scenario of function calls and inputs and respond in a scripted manner.
Getting started
Install by running
npm install --save storymockExamples
TODO: for now, have a look at the tests.
Running tests
Tests are written for nodeunit. Make sure nodeunit is installed by running
npm install -g nodeunitThen, from the project root, run
nodeunitLicense
MIT
