open-test-reporting icon indicating copy to clipboard operation
open-test-reporting copied to clipboard

Add XSLT to hierarchy.xsd so to support goal of human readability

Open ericdriggs opened this issue 2 years ago • 2 comments

XSLT should display all tests and indicate pass/failure status. Collapsible nodes for data would be preferable, especially with passing sections pre-collapsed and failing sections pre-expanded.

ericdriggs avatar Jul 19 '23 14:07 ericdriggs

I think that's an interesting idea! It's been a while since I've used XSLT. Do you have a similar format in mind where this is already applied?

marcphilipp avatar Jul 19 '23 14:07 marcphilipp

I think this podcast rss feed is a good example of using xslt:

https://feeds.acast.com/public/shows/62cee11211998c0013e4718d

When you load the page it renders as html, but you view source you see it's applying this stylesheet:

https://feeds.acast.com/global/feed/rss.xslt

As for the end product appearance, I'm a fan of masterthought reporting or allure reports

https://github.com/damianszczepanik/cucumber-reporting

https://qameta.io/allure-report/

I'd be happy to contribute on this if there's either 1. a sample hierarchy xml file I could use or 2. a way to generate by running junit tests

ericdriggs avatar Jul 19 '23 15:07 ericdriggs