bats-core

Bash Automated Testing System for writing and running bash tests

brewmacoslinux
Try with needOr install directly
Source

About

Bash Automated Testing System

Commands

bats

Examples

Run all test files in a directory$ bats tests/
Run a specific test file with verbose output$ bats tests/my_script.bats --verbose
Run tests and generate TAP (Test Anything Protocol) output$ bats tests/ --tap