This repository is designed to integration test images of the EventStreamAPI with CucumberJS to ensure they work as intended.
Note: This also tests the JS SDK for the EventStreamAPI, as it uses it to make the needed requests.
- Minikube
- npm
- Run
./test-behavior.sh
:- Starts minikube if needed
- Applies deployments
- Wipes the database if needed (ensures idempotency)
- Applies DB migrations
- Launches CucumberJS test suite
Much of the contents of the k8s cluster will auto clean between test runs, buf if you want a full wipe you can run the following between runs:
minikube delete
Note: This will require downloading k8s, which can take a little while on a slow network connection.
- transport responses