A lightweight Docker image for Bash Automated Testing System (bats)
It provides:
- alpine
v3.5
- bats
v0.4.0
and the following helpers:
- bats-support v0.3.0
- bats-asserts v0.3.0
- bats-file v0.2.0
All helpers are stored under the /usr/local/lib/bats/
folder.
To load all helpers, add in your bats test the following line:
load '/usr/local/lib/bats/load.bash'
docker run --rm -ti lucor/bats bats
docker run --rm -ti \
-v $(pwd):/tests \
lucor/bats \
bats your_test.bats