mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
This leverages ktesting as wrapper around Ginkgo and testing.T to make all helper code that is needed to deploy a DRA driver available to Go unit tests and thus integration tests. How to proceed with unifying helper code for integration and E2E testing is open. This is just a minimal first step in that direction. Ideally, such code should be in separate packages where usage of Ginkgo, e2e/framework and gomega.Expect/Eventually/Consistently are forbidden. While at it, the builder gets extended to make cleanup optional. This will be needed for upgrade/downgrade testing with sub-tests.