Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 763 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 763 Bytes

shebang-unit

shebang-unit is an automated testing framework for Bash 4 based on xUnit.

This image allows you to test your project in an isolated container.

How to use this image

To run unit tests in your project:

docker run --rm -v "$(pwd):/src" arpinum/shebang-unit

shebang-unit is Docker entrypoint so you can pass arguments.

Example with reporter and color options:

docker run --rm -v "$(pwd):/src" arpinum/shebang-unit -r=dots -c=no .

Lightweight image

Default image is based on ubuntu but you can also use the light tag based on Alpine. If your project is a pure Bash kata, the small set of binaries should work.