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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Trello

Alice Camilla on organizing your work/life/fandoms with Trello!

@Alice Camilla is a university student, currently writing her MA thesis in Archaeology. She's also a freelance blogger and content creator, writing about geeky stuff from productivity apps to JR...

41 views 1 6
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