We are in the process of refactoring our app into multiple projects.
As we are moving the unit tests to the correct project (including the class file), we are starting to see some classes that used to have coverage from a variety of different tests stop showing any coverage at all once the unit tests are no longer in that project (but are in the same package).
The tests in question are being run (with clover instrumentation) successfully - no failures, no errors. And no code coverage for classes in a different project.
Any idea of why this is happening?
Now, to be clear, up until this time *all* of our unit tests where in a different project from the classes they were testing. This has only started to happen as we move the unit tests into the correct projects (and out of the massive catch basin).
you didn't wrote what IDE you were using. I would recommend making a full rebuild, including cleaning of Clover database files after your relocation of files is finished. Eclipse, IDEA and/or Clover could had something left in their caches.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
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