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

Add support for test unit outputs - junit #1196

Closed
jonesy1234 opened this issue Dec 1, 2021 · 1 comment
Closed

Add support for test unit outputs - junit #1196

jonesy1234 opened this issue Dec 1, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@jonesy1234
Copy link

Is your feature request related to a problem? Please describe.

The current output formats are really great for user feedback however it would be great be able to track the history through other CI/CD tools that pull in test format like junit to track the compliance across multiple runs. We can currently diff between runs from the output but native support would be great.

Describe the solution you'd like
Additional output format for junit or something similar that is supported by common tool as follows:-

Describe alternatives you've considered

Only alternative I see at the moment is to perform a diff on the current outputs formats such as diff out1.csv out2.csv

Additional context

Discussed in https://steampipe.slack.com/archives/C01UECB59A7/p1638186813353000

@jonesy1234 jonesy1234 added the enhancement New feature or request label Dec 1, 2021
@e-gineer
Copy link
Contributor

e-gineer commented Dec 2, 2021

@jonesy1234 Thanks for raising this issue - agree that support for test formats would be awesome and that JUnit is a good starting point. I particularly appreciated the references you shared there!

Note for potential contributors ... The CLI has a number of formatters already, that produce results using templates. The code for those is available in this directory - https://github.com/turbot/steampipe/tree/main/control/controldisplay. Adding new formatters should be fairly straight forward, and any suggestions to make it even more extensible would be great too!

@e-gineer e-gineer added good first issue Good for newcomers help wanted Extra attention is needed labels Dec 2, 2021
@binaek binaek linked a pull request Jan 3, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants