Merge multiple gradle reports without Gradle

(Progress Software Corporation) #1

Hi,

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 !

(LingoCoder) #2

Your question takes me back to my Ant days :slight_smile:

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.

Oh. And thanks for the memories :wink:

(Progress Software Corporation) #3

Thank you ! I will try writing an ANT task as you suggested.

(LingoCoder) #4

You’re welcome :slight_smile:

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? :wink:

1 Like