-
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
[Experimental] Add Tanzu Hub Mock Server for Unit Testing #191
[Experimental] Add Tanzu Hub Mock Server for Unit Testing #191
Conversation
9c2938a
to
d66b81a
Compare
6a114e8
to
a4a7cf0
Compare
74f398d
to
6b2854b
Compare
6b2854b
to
5615772
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!
nit: Since client/hub/README.md is currently the main file one would read to undestand how to use the hub client. How about add a line in that file to reference the readme in the testing package?
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 update.
What this PR does / why we need it
hub/testing
package that allows plugin authors to easily write unit tests using a mock GraphQL server endpoint for plugins that interact with the Tanzu Hub endpoint.Note: This feature is EXPERIMENTAL. The API signature and implementation are subject to change or removal if an alternative means of providing equivalent functionality is introduced.
More details about how to use this package for writing unit tests can be found client/hub/testing/README.md
Which issue(s) this PR fixes
Fixes #
Describe testing done for PR
Release note
Additional information
Special notes for your reviewer