nestest
Test nested node packages with
npm test
Use
If you write nested npm packages, it becomes a pain to test pushd into subpackages just to run npm test
.
Instead, include nestest
in the top packages nesting script, and npm test
will be called on all nested subpackages!
"scripts": ,
API
If you want to run other commands recursively on nested subpackages, take a look at echo-name
or install
. You can change both the command and the argument:
var nestest = nestestcommand = '/path/to/new/shell/command/to/execute/recursively'nestestargs = '-f' // must be an array // Simply call bootstrap when you're ready to roll!nestest
Contributing
Be sure your tests pass by using npm test
. Pull requests will be checked using CircleCI.
TODO
- Allow capture of
stdout
/stderr
for programmatic use.