How to Install bats in Ubuntu 18.04



Install bats by entering the following commands in the terminal:

sudo apt update
sudo apt install bats

Description:

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.

Homepage: https://github.com/sstephenson/bats

Version: 0.4.0-1.1

Section: universe/shells