bats

bash automated testing system

Install

All systems
curl cmd.cat/bats.sh
Debian Debian
apt-get install bats
Ubuntu
apt-get install bats
Alpine
apk add bats
Arch Arch Linux
pacman -S bats
image/svg+xml Kali Linux
apt-get install bats
Fedora
dnf install bats
Windows (WSL2)
sudo apt-get update sudo apt-get install bats
OS X
brew install bats
Raspbian
apt-get install bats
Docker
docker run cmd.cat/bats bats powered by Commando

bats

bash automated testing system

Bats is a TAP-compliant testing framework for Bash. It provides a simple way to verify that the UNIX programs you write behave as expected. Bats is most useful when testing software written in Bash, but you can use it to test any UNIX program.

bash-bats

Bash Automated Testing System

bats-core