kubernetes/pkg/kubectl/genericclioptions/resource
Kubernetes Submit Queue debc5387fe
Merge pull request #63747 from wgliang/master.test.kubectl
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

use subtest for table units (pkg/kubectl)

**What this PR does / why we need it**:
Go 1.7 added the subtest feature which can make table-driven tests much easier to run and debug. Many table-driven tests in pkg/kubectl are not using this feature.

/kind cleanup
/area kubectl

Further reading: [Using Subtests and Sub-benchmarks](https://blog.golang.org/subtests)


**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-06-20 12:39:21 -07:00
..
BUILD fix dynamic client name 2018-05-11 13:12:09 -04:00
builder_test.go Merge pull request #63747 from wgliang/master.test.kubectl 2018-06-20 12:39:21 -07:00
builder.go Errorf format %q has arg b.labelSelector of wrong type *string 2018-05-30 17:51:17 +08:00
client.go
doc.go
fake.go
helper_test.go use subtest for table units (pkg/kubectl) 2018-05-27 10:04:55 +08:00
helper.go
interfaces.go Correctly apply request transforms with flattened resource builder 2018-05-29 12:22:57 -04:00
mapper.go
result.go
scheme.go fix dynamic client name 2018-05-11 13:12:09 -04:00
selector.go
visitor_test.go use subtest for table units (pkg/kubectl) 2018-05-27 10:04:55 +08:00
visitor.go add wait 2018-05-22 08:47:42 -04:00