Update README.md

This commit is contained in:
Jeff Regan
2020-12-01 16:48:41 -08:00
committed by GitHub
parent 1f1873a6ed
commit 55f44a29c6

View File

@@ -41,10 +41,17 @@ maintained by the kustomize maintainers for just that purpose.
To see how this works, run any plugin test, e.g.
this plugin written in bash:
```
cd plugin/someteam.example.com/v1/bashedconfigmap
pushd plugin/someteam.example.com/v1/bashedconfigmap
go test -v .
popd
```
For plugins with many tests, it's possible to target just one test:
```
pushd plugin/builtin/patchstrategicmergetransformer
go test -v -run TestBadPatchStrategicMergeTransformer PatchStrategicMergeTransformer_test.go
popd
```
and examine the associated Go test code.
### Plugin styles