732 B
732 B
Developing
Requirements
make
shellcheck
(packageShellCheck
on fedora)bats
wget
podman
(ordocker
)jq
Lint
ShellCheck is used to ensure the shell script is nice and tidy.
make validate
Tests
Testing is done with bats
.
While it's possible to kick the tests by calling bats ./test/
, many of the tests are written to use the script as built into a container image.
If you are making local changes and have not rebuilt the container, then they will be missed.
Best to kick off the build like:
make test-integration
This will rebuild the container if needed before running the tests.