Sha256: 9a2a05c5030d84ef0d7b7a99555250b47aa1cd99916fb2d7bfbfb6e5d70ad9ce
Contents?: true
Size: 966 Bytes
Versions: 380
Compression:
Stored size: 966 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` or `./whatever_test.sh`.
Version data entries
380 entries across 380 versions & 1 rubygems