Skip to content

Commit

Permalink
Increase XML Report visibility (#227)
Browse files Browse the repository at this point in the history
Signed-off-by: Ken Sipe <kensipe@gmail.com>
  • Loading branch information
kensipe committed Oct 16, 2020
1 parent b812a03 commit 4cac170
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/kuttlctl/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ and serves as an API aggregation layer.
Example: ` # Run integration tests against a Kubernetes cluster or mocked control plane.
kubectl kuttl test
# Run kuttl tests with an xml report
kubectl kuttl test --report xml
# Test 1 assertion file against a cluster
kubectl kuttl assert ../01-assert.yaml
# View kuttl version
kubectl kuttl version
`,
Expand Down
3 changes: 3 additions & 0 deletions pkg/kuttlctl/cmd/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ var (
Run a Kubernetes control plane and install manifests and CRDs for the running tests:
kubectl kuttl test --start-control-plane --crd-dir ./config/crds/ --manifests-dir ./test/manifests/ ./test/integration/
Run tests against an existing Kubernetes cluster with a JUnit XML file output:
kubectl kuttl test ./test/integration/ --report xml
`
)

Expand Down

0 comments on commit 4cac170

Please sign in to comment.