Unit tests #204
Labels
kind/enhancement
Enhancement, improvement, extension
platform/vsphere
VMware vSphere platform/infrastructure
status/closed
Issue is closed (either delivered or triaged)
How to categorize this issue?
/kind enhancement
/platform vsphere
What would you like to be added: Convert API usage to govmomi, add unit tests that operate against vcsim (subproject).
Why is this needed
The project currently has integration tests (against an actual vSphere instance), but not project scoped unit tests that can be run in a sandboxed Concourse CI context. While integration tests always have some value, it will prove very difficult to validate the full Gardener test matrix over different versions of vSphere with only integration tests.
This enhancement proposes to use
vcsim
to simulate vSphere API levels in the Gardener test matrix.vcsim
allows inventory to be saved as a data file, these data files would be stored in the project tree and sequentially checked during test execution. In some cases, problematic vSphere inventory configurations will be sufficient to trigger failure without writing new unit tests. These problematic configurations will act as regression guards for future project work.#206 addresses how the release patterns could be updated to take advantage of focused API version testing.
The text was updated successfully, but these errors were encountered: