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

Getting the warning - No coverage recordings found. No report will be generated.

I have integrated the maven clover plugin to my maven multi module project and able to get the reports successfully at maven build time. Now I am trying to integrate this clover in JBoss (our UNIX QA server) at run time. So that when QA team runs the automation against the QA server, it will give the real functional code coverage. For this I followed the necessary steps.

1. Took the clover.db from my local and uploaded the same to UNIX QA server

and pointed this location to JBoss using -D

2. Copied the clover.jar and clover.license in jBoss class path

3. Also verified the instrumented source code jar file is in JBoss classpath

4. Restarted the server


Ran few tests and I see clover.db files are generating in the location I have mentioned for " -Dclover.initstring.basedir" , but when I try to run using com.cenqua.clover.reporters.html.HtmlReporter, I am always getting the warning as "No coverage recordings found. No report will be generated"

But if I try to same in my local in my JBoss, it is working fine.



Can some one help me to resolve this issue? Can't I copy the db file from my local (Mac) to Unix? is this due to permissions?

2 answers

0 votes

1) "Ran few tests and I see clover.db files are generating" - I assume that you're talking about Clover coverage snapshots (name like clover.dbHHHHHHH_TTTTTTTTTT), right?

2) Could you paste fragments of your build file, where clover-setup, clover-instr, clover-report tasks are used?

Hi Team,

referring to your point 'Also verified the instrumented source code jar file is in JBoss classpath'.does this precisely mean deploying the instrumented 'application.ear' in place of the previous 'application.ear' file right.As the instrumented 'application.ear' would be having extra files once the source code is clovered.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

178 views 2 9
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