I have multiple gradle JUnit tests reports generated from the tests run on multiple machines. Now I would like to consolidate them without even running the gradle task as the agent who orchestrates the tasks running on multiple machines will only have the reports and cannot use gradle on the agent.
What would be the better tool in such a situation ? Thank you !
What you describe sounds exactly like what Ant’s JUnitReport Task is designed for:
Come to think of it, I believe Gradle itself uses Ant to pretty-print its own test reports, if I’m not mistaken.
If your agent can use Ant, I think it would be perfect for what you want to do. You probably already know that you’ll find the raw XML files in your project’s build/test-results/test/ folder.
If you follow the manual I linked to, it should be pretty straightforward.
Incidentally, I was just wondering. Can you appreciate the irony of someone who works for a company known for its excellent XML/XSLT processing software needing to go outside the biz for an XML/XSLT processing solution?
That is because some problems need generic solutions
I am running Gradle, the reports I have for subprojects are in HTML and I want to maintain it that way. I need a consolidated report which combines all those HTML reports into one.