Bats Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
=bats Installation=
=bats Installation=


{{Warning|Obsolete}}
{{Warn|Obsolete}}


==Installation on Mac==
==Installation on Mac==

Revision as of 00:45, 3 March 2021

Internal

bats-core Installation

# If bats was installed before:
brew unlink bats

brew install bats-core

bats --version
Bats 1.2.1

bats Installation


Obsolete

Installation on Mac

brew install bats
bats --version
0.4.0

Installation on Linux

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