batshit
That bats
is the shit for UNIX-shell-programs-testing should be well known.
Testing-with-bats
should be a hit too.
Why
I like to test cli scripts with bats, however I write my scripts as node_modules and bats isn't published thus yet.
Version
This should offer the latest
bats release - currently set to
v0.4.0
.
Test
npm test
Travis
Install batshit globally with .travis.yml
:
install: - npm install - npm i -g batshit
In package.json
- batshit
is a devDependency,
though using global batshit
to npm test
:
"devDependencies": ,"scripts": ,
Using
Links to projects tested with batshit
can be found on the wiki.