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 JUnit Output Format #2341

Closed
bqstony opened this issue Oct 28, 2018 · 4 comments

Comments

@bqstony
Copy link
Contributor

commented Oct 28, 2018

What You Are Seeing?

XUnit2Settings is missing setting for output results to JUnit XML file

What is Expected?

Setting Property like JUnitReport

The xUnit Console Runner v2.4.0 has the following argument
Result formats: (optional, choose one or more)
-junit : output results to JUnit XML file

@ricfre

This comment has been minimized.

Copy link

commented Nov 15, 2018

I'm missing this as well

@gep13

This comment has been minimized.

Copy link
Member

commented Nov 15, 2018

@bqstony @ricfre are either of you in a position to submit a PR to get this functionality added?

In the meantime, it is possible to customise the arguments that are used by the XUnit2Settings class. See here:

https://github.com/cake-contrib/Cake.Recipe/blob/eed2a052755dbd47e777796b0d7f13276cb5542c/Cake.Recipe/Content/nuget.cake#L30-L34

For an example of how this is done for the DotNetCorePackSettings class. The approach would be similar for what you are trying to do here.

@bqstony

This comment has been minimized.

Copy link
Contributor Author

commented Nov 15, 2018

@gep13 thx for response.

When i find time the next days i will try to create a pr.

@devlead

This comment has been minimized.

Copy link
Member

commented Nov 21, 2018

fixed by #2359

@devlead devlead closed this Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.