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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published yesterday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

451 views 6 7
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