bats.mk

bats-uninstall

Synopsis: make bats-uninstall

Hooks: bats-pre-uninstall, bats-post-uninstall

Uninstall the bats test framework dependencies from /scripts/.

bats-install

Synopsis: make bats-install

Hooks: bats-pre-install, bats-post-install

Install the bats test framework dependencies into /scripts/ from git.

bats-test

Synopsis: make bats-test

Hooks: bats-pre-test, bats-post-test

Variables:

Variable

Description

BATS_TEST_TARGETS

<set of bats files or directories containing .bats test files - defaults to ./tests/unit>

Execute bats (Bash Automated Testing System - https://github.com/bats-core/bats-core) shell tests.