mfncooper / mockery

Simplifying the use of mocks with Node.js
Other
1.1k stars 60 forks source link

Basic unit and functional tests #3

Closed BryanDonovan closed 12 years ago

BryanDonovan commented 13 years ago

Hi Martin,

I added unit and functional tests (incomplete) in this fork. I used nodeunit and sinon .. hope that's ok.

One of the functional tests is commented out because I couldn't get it to pass. I'm probably missing something simple.

mfncooper commented 12 years ago

Thanks, Bryan. I've checked in the functional tests, with a fixed substitute test. I'm not ready to expose the internals of mockery, so I haven't included the unit tests.