Bash powered backuping tool
Go to file
2022-05-14 20:10:49 +03:00
docs feat: Update man 2022-05-14 20:06:42 +03:00
src feat: Add common.sh 2022-05-14 20:08:16 +03:00
tests fix: Fix source_script() test 2022-05-14 20:10:49 +03:00
.gitignore init 2022-05-14 00:20:02 +03:00
COPYING init 2022-05-14 00:20:02 +03:00
Makefile feat: Add shellcheck linter 2022-05-14 20:06:20 +03:00
README.rst init 2022-05-14 00:20:02 +03:00

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