Skip to content
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 cli display coverage tests #3919

Merged
merged 1 commit into from
Jul 27, 2015

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Jul 27, 2015

Whenever an API object is added, we should be adding describers and printers. If we choose not to, the choice should be made consciously. This forces people to think about it.

@fabianofranz ptal

When this is added to the merge queue, I'll open issues for adding printers and describers for missing objects.


// MissingPrinterCoverageExceptions is the list of types that were missing printer methods when I started
// You should never add to this list
var MissingPrinterCoverageExceptions = []reflect.Type{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of these may not seem like candidates, but remember that resource.Builder covers more types than just straight API server GETs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also add a TODO line.

@deads2k
Copy link
Contributor Author

deads2k commented Jul 27, 2015

TODOs added.

@fabianofranz
Copy link
Member

Thanks for this, LGTM

@deads2k
Copy link
Contributor Author

deads2k commented Jul 27, 2015

[merge]

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/2844/) (Image: devenv-fedora_2060)

@openshift-bot
Copy link
Contributor

Evaluated for origin up to 6f74c5e

openshift-bot pushed a commit that referenced this pull request Jul 27, 2015
@openshift-bot openshift-bot merged commit 66acf23 into openshift:master Jul 27, 2015
@deads2k deads2k deleted the printer-coverage branch July 31, 2015 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants