0.3.0 • Published 11 years ago
tape-runner v0.3.0
tape-runner
A tape runner API allowing you to create custom test runners.
npm install tape-runner --save-devnpm stats
Usage
test.js
require('tape-runner')()package.json
{
"scripts": {
"test": "node test.js"
}
}Features
- Installs the latest version of tape and tape-catch as
devDependenciesfor you. - Auto-locates tests in the
test,lib, andappdirectories. - Supports naming test files
*.test.js,*.tests.js,test.js, andtests.js. - Supports passing values into tests.
- Supports passing in an alternative array of test files (ignores the default file glob).
API
runner(params, files)
arguments
[params]: (Array)parameters to pass to exported test function.[files]: (Array)files to pass to exported test function.
Contributing
SEE: contributing.md