Skip to content
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

Multiple outputs (i.e. text and json) #376

Open
MPV opened this issue Sep 11, 2023 · 1 comment
Open

Multiple outputs (i.e. text and json) #376

MPV opened this issue Sep 11, 2023 · 1 comment

Comments

@MPV
Copy link

MPV commented Sep 11, 2023

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)…?

@coopernetes
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants