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


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.


Version: 0.4.0-1.1

Section: universe/shells