-
Notifications
You must be signed in to change notification settings - Fork 263
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
Add integration tests for all command usage examples in the binary #1889
Comments
@dsimansk following up on discussion this morning, I'll make POC in the next few weeks for this. |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
Feature request
Currently, if you type
kn <resource> <action> --help
, you will get help text with some examples. However, these examples don't always stay up to date as parts of the knative project change (For example, #1885). We should build out a systematic way to test all of the examples we provide within the help flags in the kn binary.One idea would be to create a
Example
struct sort of like below:We could then:
Command
andComment
fields to construct the example usage currently displayed in the help text.Use case
This would ensure that all of the commands we provide in kn work correctly and are up to date.
/kind proposal
/area e2e
The text was updated successfully, but these errors were encountered: