Dado, a simple and dirty test runner.
$ npm install dado [-g]
var Dado = ;
$ cd dado/$ npm test
// orObject opt
Default options are listed.
/** Instance configuration object.*/Dadooptions : Object
Arguments within [ ] are optional.
/** Run tests from specified directory, default value for path is 'test' (or './test').* Optionally, if Dado default position is not in 'node_modules', you can specify the* relative path from 'dado/lib' directory to the root dir of the module to test* (default relative path is * '../../../').* The optional callback will be executed when all test files are executed, this function* gets 2 args/objs: queues for collected files and stats.** NOTE:* - Only files ending with '-test.js' are loaded from the specified path/dir.* - Every loaded file should exports a 'test' property/method that gets 2 arguments,* an object with some methods for assertions and a done function that you should call* for properly exiting from the test.*/Dado# : undefined/** Reset global queues and stats objects.*/Dado#reset : function () : Dado
Copyright (c) 2014-present < Guglielmo Ferri : email@example.com >
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.