A super-simple drop-in replacement for Buster running in Node, using node-tap as a test runner
A simple drop-in replacement for Buster in Node.js.
Uses node-tap as the test runner when in Node and tape when used packaged in Browserify (yes, that's right! You can run TAP tests, written in Buster-style, in the browser! That's surely worth an M.C. Hammer dance?).
var buster =assert = busterassert // 'referee' is the new name for buster-assertrefute = busterrefutebuster
You then run the test with either
node ./tests.js or if you like,
tap *-tests.js as it creates node-tap compatible tests.
this.mock() are supported in the sandbox but it's possible to make it more complete. Send me a pull request if you need it.
BusterMove is Copyright (c) 2012 Rod Vagg @rvagg and licensed under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.