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

Support for XUnit 2 #14

Open
firelizzard18 opened this issue Nov 1, 2017 · 9 comments
Open

Support for XUnit 2 #14

firelizzard18 opened this issue Nov 1, 2017 · 9 comments

Comments

@firelizzard18
Copy link

I would love to use this project, but I can't. I'm using XUnit 2, which has a different output format. So xunit-viewer doesn't do anything.

@lukejpreston
Copy link
Owner

Do you have sample output? I could update it

@firelizzard18
Copy link
Author

firelizzard18 commented Nov 3, 2017

It's not something I want to post publicly. I've emailed you a file.

Here's XUnit's XLST: https://github.com/xunit/xunit/blob/master/src/xunit.console/HTML.xslt

@lukejpreston
Copy link
Owner

#51 (comment)

@lukejpreston
Copy link
Owner

Looking for sample Xunit Unit 2 code in order to be able to get Xunit Viewer to render it

@LordLyng
Copy link

How about this?
https://xunit.net/docs/format-xml-v2

@lukejpreston
Copy link
Owner

How about this?
https://xunit.net/docs/format-xml-v2

Sorry for the late reply.

Thanks for the link, when I first created this tool I used a doc about Xunit and quickly found examples I hadn't thought of in the wild and learned that real examples are better than my crude ones.

I also don't use a tool that produces Xunit 2 results. I don't know whether anyone can recommend a testing library that does this? Then I could just use that and make a bunch of random tests.

@vaind
Copy link

vaind commented Jul 4, 2022

Here's a sample of what should be xunit-v2 from a public repo
TestResults.xml.txt

@lukejpreston lukejpreston moved this to To Do in Xunit 2 Jun 23, 2023
@maltebacher
Copy link

What is the current issue state?

@lukejpreston
Copy link
Owner

Hi @maltebacher
I started work on this ages ago then it got parked. I have some sample data but could do with more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To Do
Development

No branches or pull requests

5 participants