Bats Installation

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

bats-core Installation

# If bats was installed before:
brew unlink bats

brew install bats-core

bats --version
Bats 1.2.1

bats Installation

Installation on Mac

brew install bats

Installation on Linux

git clone https://github.com/sstephenson/bats.git
cd bats
sudo ./install.sh /usr/local/