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 XML output format to support CI test summary #21

Open
simonwilbert opened this issue Jan 27, 2017 · 1 comment
Open

Add XML output format to support CI test summary #21

simonwilbert opened this issue Jan 27, 2017 · 1 comment
Labels

Comments

@simonwilbert
Copy link

allow swagger-diff to output a file which CI systems can parse to get test summary

Circle - https://circleci.com/docs/test-metadata/

Like "Your build ran 832 tests with 4 breaking API changes and 3 Warnings listed below"

@zallek
Copy link
Owner

zallek commented Jan 31, 2017

yeh that could be interesting.
Currently, there are 2 output modes either "raw" or "json". We could add a "junit-xml"

https://github.com/windyroad/JUnit-Schema/blob/master/JUnit.xsd

So that's means that it needs to both output to stdout warnings/errors and also write to a file the junit test results.

that should be possible quite easily:

Do you think you could create a PR for that it would be great :)

@zallek zallek added the feature label Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants