batshit

bats helps with testing shit


Keywords
bats, unix, shell, bin, cli, test, framework, wrapper, helpers
License
MIT
Install
npm install batshit@0.0.0

Documentation

batshit

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

NPM

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 Build Status

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": { "batshit": "*" },
"scripts": { "test": "batshit -t test" },

Using

Links to projects tested with batshit can be found on the wiki.

License

MIT