Skip to content

Commit 335beb8

Browse files
committed
KUTTL: generate JUnitXML reports
- switch the type to XML (the accepted value is 'xml' lowercase, not uppercase); - tune the name a bit to highlight it is a report; - add the new reportGranularity parameter which is supported by kuttl 0.20.0 and will restore the pre-1.17 JUnitXML format (granularity by test case, instead of by step); - remove the URL of kuttl, so that it is not tied to a specific release. Signed-off-by: Luigi Toscano <[email protected]>
1 parent 97b553d commit 335beb8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

kuttl-test.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@
66
# ASSUMPTIONS:
77
#
88
# 1. Latest version of kuttl is installed at /usr/local/bin/kubectl-kuttl
9-
# - wget https://github.com/kudobuilder/kuttl/releases/download/v0.11.1/kubectl-kuttl_0.11.1_linux_x86_64
10-
# - mv kubectl-kuttl_0.11.1_linux_x86_64 /usr/local/bin/kubectl-kuttl
11-
# - chmod 755 /usr/local/bin/kubectl-kuttl
129
# 2. An OCP 4.10+ CRC cluster with Podified Operators has been deployed
1310
# 3. CLI user has access to $KUBECONFIG
1411

1512
apiVersion: kuttl.dev/v1beta1
1613
kind: TestSuite
17-
reportFormat: JSON
18-
reportName: kuttl-test-glance
14+
reportFormat: xml
15+
reportName: kuttl-report-glance
16+
reportGranularity: test
1917
timeout: 180
2018
namespace: glance-kuttl-tests
2119
parallel: 1

0 commit comments

Comments
 (0)