npm install batshitThat bats is the shit for UNIX-shell-programs-testing should be well known.
Testing-with-bats should be a hit too.

I like to test cli scripts with bats,
however I write my scripts as node_modules and bats isn't published thus yet.
This should offer the latest
bats release - currently set tov0.4.0.
``sh`
npm test
Install batshit globally with .travis.yml:
`yml`
install:
- npm install
- npm i -g batshit
In package.json - batshit is a devDependency,batshit
though using global to npm test:
`json`
"devDependencies": { "batshit": "*" },
"scripts": { "test": "batshit -t test" },
Links to projects tested with batshit` can be found on the wiki.