Bats Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
=bats-core Installation=
=bats-core Installation=
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
# If bats was installed before:
brew unlink bats
brew install bats-core
brew install bats-core
</syntaxhighlight>
</syntaxhighlight>

Revision as of 02:13, 22 August 2020

Internal

bats-core Installation

# If bats was installed before:
brew unlink bats

brew install bats-core

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/