crossplane / conformance

A Sonobuoy plugin to assess @crossplane conformance.
Apache License 2.0
8 stars 5 forks source link

Increase thoroughness of Provider conformance tests #10

Open negz opened 3 years ago

negz commented 3 years ago

What problem are you facing?

This repository should define two conformance test suites; one for Crossplane distributions and another for Crossplane providers.

How could conformance help solve your problem?

It could flesh out the provider conformance test suite, which currently exists but has no meaningful tests. We should test that:

(Edit: consolidated some of the comments below into a checklist here).

negz commented 3 years ago

It's not clear to me whether we should (and how we would) test how managed resources actually behave, given that we don't know which managed resources a provider defines. We could consider requiring that one of each kind of managed resource supported by the provider be created (manually) before the conformance suite is run. This would allow us to test that all managed resources defined by the provider:

negz commented 3 years ago

Some other things we'll want to test:

negz commented 3 years ago

I'm somewhat skeptical WRT testing for event emittance, just because if there's a bunch going on in an API server it's possible for events to expire and disappear pretty quickly. This may not be an issue given that we don't really expect folks to be testing for conformance using a live Kubernetes cluster.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.