Sha256: fc0afd52d3d50c83569fe035d65cd9f5b274593efd8c3ce19f6664c90dd7df3d
Contents?: true
Size: 944 Bytes
Versions: 16
Compression:
Stored size: 944 Bytes
Contents
As there isn't much of a bash ecosystem, there also isn't really a defacto leader in the bash testing area. For these examples we are using [bats](https://github.com/sstephenson/bats). You should be able to install it from your favorite package manager, on OS X with homebrew this would look something like this: ``` $ brew install bats ==> Downloading https://github.com/sstephenson/bats/archive/v0.4.0.tar.gz ==> Downloading from https://codeload.github.com/sstephenson/bats/tar.gz/v0.4.0 ######################################################################## 100.0% ==> ./install.sh /opt/boxen/homebrew/Cellar/bats/0.4.0 /opt/boxen/homebrew/Cellar/bats/0.4.0: 10 files, 60K, built in 2 seconds ``` For Ubuntu 15.10 or later ``` sudo apt-get install bats ``` For Red Hat, Scientific Linux, and CentOS 6 or later bats is found in the EPEL repository. ``` sudo yum install bats ``` Run the tests with `bats whatever_test.sh`.
Version data entries
16 entries across 16 versions & 1 rubygems