473 B
473 B
Testing
Baf uses amazing test suite: https://bats-core.readthedocs.io/
Install Bats:
git clone https://github.com/bats-core/bats-core.git
bash bats-core/install.sh ~/.local
Add some Bats extensions:
git clone https://github.com/bats-core/bats-assert.git tests/helpers/bats-assert
git clone https://github.com/bats-core/bats-support.git tests/helpers/bats-support
Run tests:
make tests
Building
Build docs (manpage and HTML):
make docs