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 Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,421 views 21 17
View question

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