Tests should be written and used whenever possible. Tests are automatically run when a PR is created amd must pass to merge.
To run tests locally
make test
This repo uses testify for assertions and mockery to mock third party dependencies through dependency injection.
TODO
You can easily spin up a local kind cluster for functional testing.
- Create Kind Cluster
make kind-start
- Deploy CRDs
make install
- Create sample CRs
make deploy-samples
- Launch app with
make run
or VSCode debugger