Multiple outputs (i.e. `text` and `json`)
MPV opened this issue · comments
I would like to have both jUnit repot and text output.
This would make it quicker when reading terminal output from CI jobs, not having to switch into a view which has interpreted the jUnit XML (in my CI/CD tool).
Is this supported? Doesn’t seem like an array of outputs is supported:
-o, --output string output format for the test report (available format: text, json, junit) (default "text")
I guess running it twice (with different outputs, and ignoring failure the first time) might be a workaround (albeit twice as slow — but maybe --save
could help there)…?
I really like the UX from aquasecurity/trivy which can convert between formats via a separate CLI verb. This would useful for cst. It's handy to have plaintext output to log out during CI with the ability to convert to other formats for generating test reports.