xunit-viewer
xunit-viewer copied to clipboard
Support for XUnit 2
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.
Do you have sample output? I could update it
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
https://github.com/lukejpreston/xunit-viewer/issues/51#issue-482359497
Looking for sample Xunit Unit 2 code in order to be able to get Xunit Viewer to render it
How about this? https://xunit.net/docs/format-xml-v2
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.
Here's a sample of what should be xunit-v2 from a public repo TestResults.xml.txt