Clover coverage on Java instrumented classes

Can Clover get coverage on the instrumented classes created using GWT?

1 answer

1 accepted

0 votes
Answer accepted

Yes, but it has some limitations. Due to the nature of GWT which translates Java to JavaScript for code parts which are supposed to run in a web browser, such code parts if instrumented by Clover won't translate.

It means that you have to:

  • either instrument server side code only
  • or instrument everything but run application in a framework simulating GWT (like gwt-test-utils).

See: Using+Clover+with+the+GWT-maven+plugin

Cheers
Marek

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Opsgenie

Getting the Most out of Atlassian and Opsgenie Together

We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...

68 views 0 1
Read article

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