| title | Testing |
|---|---|
| description | How to run unit, integration, and end-to-end tests. |
The repo includes unit tests, integration tests, and an end-to-end suite that provisions a Kind cluster and installs vcluster.
# Unit + integration
make test
# or
go test ./...# E2E (creates kind + installs vcluster by default)
make e2e
# or
go test -tags=e2e ./test/e2e -vFor fast inner-loop development, use DevSpace to sync the plugin binary into the vcluster pod:
make devTo rebuild the binary (DevSpace will sync and restart):
make dev-buildTo clean up the DevSpace environment:
make dev-purgeSee E2E Testing for environment variables, cluster lifecycle controls, and test coverage.