Hello! I’m new here. Great work with `kotest` and ...
# kotest
h
Hello! I’m new here. Great work with
kotest
and thank you for all the work! I have a question, if anyone is available to answer it: I want to generate HTML reports from XML reports (built with Junit XML listener), with Gradle. I can’t seem to find a way to do it without any extra Gradle plugin. Is anyone aware of a listener (similar to what JUnit XML) that will allow me to run this after executing the entire
kotest
test suite? Thank you!
👍🏻 1
s
how does junit do it?
h
I'm not sure, to be honest. As far as I could understand from skimming some Gradle pointed out from SO, it seems Gradle generates the HTML report based on the results it holds from running the test suite. I tried serving the XML results generated by Kotest to Gradle to generate the HTML but to no avail. This is why I was considering generating the HTML via a listener...
s
I think yeah we should add our own HTML generator
that can work directly from Kotest output
This will be better anyway, because it can understand nested tests and timeouts and all the goodies that gradle doesn't understand
h
Do you see this being implement as a listener?
s
yes
or an extension
either or
I guess a listener is the simplest way
h
Yeah, I was thinking that a listener might be easier. I can try submitting a PR for this if you'd like sometime. I assume that you have a lot on your plate and this won't be a priority.
s
Yes that would be great. Even if you start with something basic and simple we can iterate on it.
h
Okay, thank your for your time! Do you want me to submit a feature request for this to be tracked?
s
please
h
Thanks again! 👍