Runs a test suite against a Humio docker container.
The bats-code bash testing framwork is used to write tests. The test runner is installed through NPM (see Setup below).
- NPM
- Docker (Optional)
cd e2e && npm install
Make sure to build the CLI before running the tests:
$ make build
in the root of the project
$ ./run.bash$ ./run.bash --skip-humio
This is useful when developing tests so you don't have to wait for the docker containers starting and stopping.