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
Published Thursday in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

266 views 1 10
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