-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross-version API Compatibility - Cleanup Test Helper functions #35
Cross-version API Compatibility - Cleanup Test Helper functions #35
Conversation
32093c4
to
0d6f0cb
Compare
There are multiple references across PRs about the 3 make targets, apparently copied from If one needs to run the compatibility tests, do we need to run all 3? Seems the first covers the the other 2, no? Likewise in future PR. If |
Some linter issues to address. |
You only need one Command make compatibility-tests. Updated the description and doc accordingly |
This PR appears to be just refactoring, but I also noticed there are changes in the test result output? |
0d6f0cb
to
565486f
Compare
Lints are addressed in #26 |
ff53bdb
to
6aadaed
Compare
@@ -63,7 +63,6 @@ const ( | |||
Version0254 RuntimeVersion = "v0.25.4" | |||
Version0280 RuntimeVersion = "v0.28.0" | |||
VersionLatest RuntimeVersion = "latest" | |||
Version100 RuntimeVersion = "v1.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version100 still referenced in markdown file. (Forgot to click send a while back, but I think still applies)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed all references for Version100. we will add this when we add tests for 1.0
88fd928
to
0896252
Compare
0896252
to
b03174d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks for the updates
* Refactor test helper functions to create and resuse api commands, input and output options * Remove Version100 references * Update Workflow to run on all files
What this PR does / why we need it
Which issue(s) this PR fixes
Fixes #
Describe testing done for PR
make compatibility-tests
More details on test output can be found from the Github workflow that is run on this PR https://github.com/vmware-tanzu/tanzu-plugin-runtime/actions/runs/4495795430/jobs/7909811037?pr=26
For more details on Cross-version API compatibility testing refer to https://github.com/vmware-tanzu/tanzu-plugin-runtime/blob/main/test/compatibility/docs/cross-version-api-compatibility.md
Release note
Additional information
Special notes for your reviewer