Testing
We use these types (from simple to complex):
- Go unit tests
- envtest from controller-runtime
- End-to-End Tests
The unit tests and envtests get executed via make test-unit
.
Please add new tests, if you add new features.
Try to use a simple type. For example, prefer to write a unit test to a test which needs envtest.