I am facing a peculiar issue. I have two projects say 'A' and 'B' and I build the jar for B and use it in A. I have been able to succesfuly build project 'A' using clover and generate reports for my test coverage. Issue is that clover considers all packages inside project A only totally ignoring my instrumented jar for project B. I want to configure clover in a way that it generates a consolidated db for both and thus I can see how much of project B am I testing, since A uses a lot of code from B.
Is it even possible to do what I am trying? I also checked whether my jar had instrumented class files and yes it did have them...
Yes, you can instrument multiple projects, also in different builds and run the code from these projects together. In order to have code coverage for classes from module B you have to instrument module 'B' and next use the instrumented JAR in module A.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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!
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