Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 680 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 680 Bytes

Calyptia BATS

All common Calyptia BATS framework and setup tooling. Intended to simplify and enable reuse of testing by handling all the framework set up, tests themselves are in the product repo.

The intention is to use calyptia-bats.sh to run all tests, it can be wrapped in a simple launcher that sets additional variables.

TEST_ROOT should be set to the location of the actual BATS tests to run.

export TEST_ROOT=examples
bash <(curl -s https://raw.githubusercontent.com/calyptia/bats/main/calyptia-bats.sh)

Helpers

test-helpers.bash contains common functions to use.

Additional helpers can be provided in TEST_ROOT/helpers.