Can I use Clover with Gradle?

I see suport for Ant and Maven, what about Gradle?

4 answers

Check out the Gradle Cookbook's Using Clover for a plugin.

Melanie,

I wrote a Gradle plugin for Clover. Just give it a shot. If there's any feature you are missing let me know and I will add it.

Ben

Hi Benjamin,

I am using your Gradle plugin for Clover. Can you please advise if I can use it to also get coverage data for manual testing.

When I was using ANT plugin for clover, It generated clover instrumented class files at compile time. These packaged class files will get deployed to server and once application is accessed for manual testing test coverage is recorded for the same.

 

But with Gradle plugin I am not seeing clover instrumented class files, It is however able to generate report of test coverage based on Junit testing. I also want to capture coverage from manual testing as well.

 

Please Advise.

 

@Benjamin Muschko, hi will this work in a multi project  with multi build.gradle?

Thanks Ben! Have you considered adding your plugin to our Plugin Exchange?

I've added a comment to the CLOV-1009 Easy integration with Gradle feature request to help others find this as well.

Cheers,

Melanie

Hi,

I didn't know Plugin Exchange existed. I'd add it but there's not plugin section for Clover as far as I can see. Thanks for adding the comment on the Jira ticket.

Ben

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

140 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you