Automation tests ignored by Clover

Hi,

I have been making a POC with clover and was able to make everything up and running quite quickly.

However later on when I was putting it all together again before testing clover on the Dev environment all the Automation tests that are executed not getting used by clover for reporting

My Env details:

Tomcat 7 with instrumented code deployed

Running clover as a maven plugin not from the Eclipse.

Using Evaluation License for the moment.

Clover 3.3.0

Actions:

While building the project Clover generates reports for the Unit tests with DB created etc.

Replacing the project/classes in the Tomcat with instrumented classes

Restarting Tomcat

Running Automation test suit

Symptoms:

Only 2 files in the clover DB folder getting changed while tests run.

After running mvn clover2:clover report getting re-created (index.html in the target/site foder) however results of the report are identical to the results of the Unit tests.

Can you please let me know if there is something wrong with the setup.

Thank you

1 answer

I sort it out - the reason was that when I was running only clover2:clover id didn't count all the reports but when the whole plugin got run with - instrument, check, clover then it works.

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 3 hours ago in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

14 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