siderolabs / cluster-api-control-plane-provider-talos

A control plane provider for CAPI + Talos
Mozilla Public License 2.0
56 stars 19 forks source link

implement thorough test suite #156

Closed smira closed 1 year ago

smira commented 1 year ago

The current integration tests don't cover all cases, and they are extremely slow to run.

Find a middle ground with some form of unit-testing.

See e.g. https://github.com/kubernetes-sigs/cluster-api/blob/31146bd17a220ef6214c4c7a21f1aa57380b6b1f/controlplane/kubeadm/internal/controllers/controller_test.go#L17-L18