Bash powered backuping tool
Go to file
2022-05-14 17:49:46 +03:00
docs init 2022-05-14 00:20:02 +03:00
src feat: Rename script.sh to source.sh 2022-05-14 17:49:46 +03:00
tests feat: Rename script.sh to source.sh 2022-05-14 17:49:46 +03:00
.gitignore init 2022-05-14 00:20:02 +03:00
COPYING init 2022-05-14 00:20:02 +03:00
Makefile feat: Update Makefile 2022-05-14 04:56:17 +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