A very simple test runner. See README for example usage.
We all know your code could use some abuse. RoboBuster will help you kick the crap out of your code until it can handle anything.
npm install robobuster
For more detailed usage see the
var assert = require'assert';var RoboBuster = require'./RoboBuster';// Tests are run within whatever scope is passed (ex: this)var buster = this 'Name Of Test Suite';var variableInScope = 'foo';busteradd'First Test Name'// Do anything you want. Test will fail if something throwsassertequalvariableInScope 'foo';;busterbust;
The output from above test
RoboBuster: Picking on Sample Test SuiteRoboBuster: \RoboBuster: | ✔ Test1RoboBuster: \ Finished busting up Sample Test SuiteRoboBuster: | Passed all 1 tests
Want to see RoboBust beat itself up?
# run from root module directorynpm test