Bash Automated Testing System
git clone https://github.com/bats-core/bats-core
- freenom-args.bats
- freenom-funcs.bats
- script="/usr/local/bin/freenom.sh"
- config="/etc/freenom.conf"
bats freenom-args.bats
filter (e.g. run one test only)
bats freenom-funcs.bats -f func_getRec
recursive (TAP)
bats -r . -t
bats -r ./test/freenom* -t
git submodule add https://github.com/ztombol/bats-support test/bats-support
git submodule add https://github.com/jasonkarns/bats-assert-1 test/bats-assert-1
git clone https://github.com/ztombol/bats-docs