Clover - Test contribution and test run explorer are empty

Hi,

I dowloaded your trial version of Clover, i am using it with eclipse and i have few problems.

This is my situation:

I have a project which is server and my tests are simulating client requests and my tests are in separate project named Test.

1. When i start my testcases which are jUnit tests, i get Coverage explorer filled with coverage data for server project, but my clover dashboard tab says: "No test results could be found. Please ensure that you have instrumented your unit tests correctly"!

2. Also my test contributions tab remains empty and test run explorer.

3. My client is flash client, so is it posible that clover makes code coverage while i am clicking my flash client, because for now only i can do is to run my tests and cover the server code?!

Please tell me how to setup my enviroment because i can not do it.

Regards,

Dragan Basta

1 answer

0 votes

Is there any chance that your server is actually running in a separate JVM than unit tests?

Could you confirm that after test execution:

  • you see server classes marked green in java editor and
  • you see unit test classes marked green too
  • but test contributions are empty when you open any server class in editor?

Are you talking about Clover Dashboard view in Eclipse or about Dashboard in HTML report?

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,083 views 6 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot