-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reportFormat in TestSuite #449
Comments
Please use lowercase |
rishinair11
pushed a commit
to rishinair11/kuttl
that referenced
this issue
Mar 11, 2023
Fixes issue kudobuilder#449 When reportFormat in `kuttl-test.yaml` is specified in uppercase, it is passed as it is to report.Report func in harness.go. It needs to be passed as lowercase so that the `switch` compares against valid report format types (`ftype`)
rishinair11
pushed a commit
to rishinair11/kuttl
that referenced
this issue
Mar 11, 2023
Fixes issue kudobuilder#449 When reportFormat in `kuttl-test.yaml` is specified in uppercase, it is passed as it is to report.Report func in harness.go. It needs to be passed as lowercase so that the `switch` compares against valid report format types (`ftype`) Also added unit tests List of tests added: - should_create_an_XML_report_when_format_is_XML - should_create_an_XML_report_when_format_is_xml - should_create_an_JSON_report_when_format_is_JSON - should_create_an_JSON_report_when_format_is_json - should_not_create_any_report_when_format_is_empty Signed-off-by: Rishikesh Nair <[email protected]>
rishinair11
pushed a commit
to rishinair11/kuttl
that referenced
this issue
Mar 11, 2023
Fixes issue kudobuilder#449 When reportFormat in `kuttl-test.yaml` is specified in uppercase, it is passed as it is to report.Report func in harness.go. It needs to be passed as lowercase so that the `switch` compares against valid report format types (`ftype`) Also added unit tests List of tests added: - should_create_an_XML_report_when_format_is_XML - should_create_an_XML_report_when_format_is_xml - should_create_an_JSON_report_when_format_is_JSON - should_create_an_JSON_report_when_format_is_json - should_not_create_any_report_when_format_is_empty Signed-off-by: Rishikesh Nair <[email protected]> Signed-off-by: Rishi <[email protected]>
rishinair11
pushed a commit
to rishinair11/kuttl
that referenced
this issue
Mar 11, 2023
Fixes issue kudobuilder#449 When reportFormat in `kuttl-test.yaml` is specified in uppercase, it is passed as it is to report.Report func in harness.go. It needs to be passed as lowercase so that the `switch` compares against valid report format types (`ftype`) Also added unit tests List of tests added: - should_create_an_XML_report_when_format_is_XML - should_create_an_XML_report_when_format_is_xml - should_create_an_JSON_report_when_format_is_JSON - should_create_an_JSON_report_when_format_is_json - should_not_create_any_report_when_format_is_empty Signed-off-by: Rishikesh Nair <[email protected]> Signed-off-by: Rishi <[email protected]> Signed-off-by: Rishikesh Nair <[email protected]>
rishinair11
pushed a commit
to rishinair11/kuttl
that referenced
this issue
Mar 11, 2023
Fixes issue kudobuilder#449 When reportFormat in `kuttl-test.yaml` is specified in uppercase, it is passed as it is to report.Report func in harness.go. It needs to be passed as lowercase so that the `switch` compares against valid report format types (`ftype`) Also added unit tests List of tests added: - should_create_an_XML_report_when_format_is_XML - should_create_an_XML_report_when_format_is_xml - should_create_an_JSON_report_when_format_is_JSON - should_create_an_JSON_report_when_format_is_json - should_not_create_any_report_when_format_is_empty
rishinair11
pushed a commit
to rishinair11/kuttl
that referenced
this issue
Mar 11, 2023
Fixes issue kudobuilder#449 When reportFormat in `kuttl-test.yaml` is specified in uppercase, it is passed as it is to report.Report func in harness.go. It needs to be passed as lowercase so that the `switch` compares against valid report format types (`ftype`) Also added unit tests List of tests added: - should_create_an_XML_report_when_format_is_XML - should_create_an_XML_report_when_format_is_xml - should_create_an_JSON_report_when_format_is_JSON - should_create_an_JSON_report_when_format_is_json - should_not_create_any_report_when_format_is_empty Signed-off-by: Rishikesh Nair <[email protected]>
There was a bug that I have fixed, regarding how the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have the following TestSuite file:
The execution works fine but Kuttl continues to generate the report in JSON format.
Could you check that point ?
I use the version 0.14.0.
Rgds.
The text was updated successfully, but these errors were encountered: