kuttl icon indicating copy to clipboard operation
kuttl copied to clipboard

ReportName is hard coded to "kuttl-test" due to which we are not able to provide customize name for the report

Open vikas-chourasia opened this issue 4 years ago • 3 comments

https://github.com/kudobuilder/kuttl/blob/6de9356d102ff0db4234598762c9b38dad44fe84/pkg/kuttlctl/cmd/test.go#L114

reportName parameter in test suite yaml is not taking customized name as it is hardcoded in the test.go, kindly make that as a configurable parameter in test suite yaml. As we are running multiple suites one by one so all the reports generated by a previous suites are getting overwritten by the next suite.

Sample Test Suite Yaml :

apiVersion: kuttl.dev/v1beta1
kind: TestSuite
startKIND: true
kindContainers:
- your/image:latest
testDirs:
- tests/e2e/
reportName: abc-test
reportFormat: JSON

Thanks Vikas

vikas-chourasia avatar Mar 26 '21 07:03 vikas-chourasia

We're also experiencing this issue. Will there be updates on this?

codechennerator avatar Sep 16 '21 18:09 codechennerator

How about using the reportName parameter from kuttl-test.yaml? https://kuttl.dev/docs/testing/reference.html#testsuite

iblancasa avatar Nov 03 '21 19:11 iblancasa

this issue may be resolved with better documentation. Adding to a milestone for resolution.

kensipe avatar Apr 14 '22 13:04 kensipe