You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Determine process for keeping Conformance Tests current with API additions #592
As folks make changes to the Elafros API, e.g. updating labels, we should make sure the conformance tests cover this behavior. At the moment I need to keep up with these changes and update the conformance tests myself. It may be better to have the folks who make the changes update the tests, however it's not 100% clear when contributors would need to do that, so if we want contributors to make the changes, we need to clearly define when they should do so.
Actual Behavior
I keep up with these changes and update the tests usually, though sometimes folks are pro-active about it (thanks @tcnghia !).
An additional item which would help (I'm not quite sure how to do this)
would be some sort of test coverage map of the conformance tests, e.g.
1. For each field,
a. A count of how many times that field is set in the tests.
b. A count of how many different values the field is set to.
2. As a possible addition, it might make sense to indicate in either the
API or the conformance tests that certain fields are "critical" vs
incidental to the test.
I'm wondering if #1 could be done via an interposing webhook which simply
records all the different states set.
Activity
bobcatfish commentedon Apr 29, 2018
After talking with @evankanderson we have decided that any changes to:
Should result in a change in the conformance tests.
I will update the docs and also created #780 to automate the process decision.
evankanderson commentedon Apr 30, 2018
Add docs re. keeping spec/implementation/conformance tests in sync (#781
[RELEASE-1.11] Move to Golang version 1.21 (knative#546) (knative#592)
[RELEASE-1.11] Move to Golang version 1.21 (knative#546) (knative#592)