Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Opsgenie

Investigate deployment-related incidents with Bamboo and Opsgenie together

Back in April of last year one of the major product announcements from Opsgenie was the launch of the Incident investigation view which created a deep connection between Bitbucket and Opsgenie, empow...

90 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you