https://github.com/orlin/batshit
bats helps with testing unix shit
https://github.com/orlin/batshit
Last synced: about 2 months ago
JSON representation
bats helps with testing unix shit
- Host: GitHub
- URL: https://github.com/orlin/batshit
- Owner: orlin
- Created: 2014-12-21T17:31:27.000Z (over 10 years ago)
- Default Branch: active
- Last Pushed: 2016-01-19T19:19:27.000Z (over 9 years ago)
- Last Synced: 2025-03-25T09:19:17.189Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# batshit
That `bats` is *the shit* for UNIX-shell-programs-testing should be well known.
Testing-with-`bats` should be a hit too.[](https://www.npmjs.org/package/batshit)
## Why
I like to test cli scripts with [bats](https://github.com/sstephenson/bats),
however I write my scripts as node_modules and bats isn't published thus yet.## Version
This should offer the latest
[bats release](https://github.com/sstephenson/bats/releases) - currently set to
`v0.4.0`.## Test [](http://travis-ci.org/orlin/batshit)
```sh
npm test
```### [Travis](https://travis-ci.org/)
Install batshit globally with `.travis.yml`:
```yml
install:
- npm install
- npm i -g batshit
```In `package.json` - `batshit` is a devDependency,
though using global `batshit` to `npm test`:```json
"devDependencies": { "batshit": "*" },
"scripts": { "test": "batshit -t test" },
```## Using
Links to projects tested with `batshit` can be found on [the wiki](https://github.com/orlin/batshit/wiki).
## License
[MIT](http://orlin.mit-license.org)