Bash powered backuping tool
Go to file
2022-05-14 03:36:13 +03:00
docs init 2022-05-14 00:20:02 +03:00
src feat: Add script.sh with tests 2022-05-14 03:36:13 +03:00
tests feat: Add script.sh with tests 2022-05-14 03:36:13 +03:00
.gitignore init 2022-05-14 00:20:02 +03:00
COPYING init 2022-05-14 00:20:02 +03:00
Makefile feat: Rename parse_uri.sh to uri.sh 2022-05-14 01:07:01 +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