I am using maven jacoco pugin to generate code coverage report. I am using Powermock for my Junits. I am getting this message at the time of build:
Classes in bundle "XYZ" do not match with execution data. For report generation, same class files must be used at runtime.
[WARNING] Execution data for class "com/abc/example/testEmail" does not match
...
As per my analysis,wherever I have used @PrepareForTest on a particular class, that class is not showing up in the code coverage report.
I am using the following version of Jacoco and Powermock:
Jacoco - 0.7.9 PowerMock - 1.7.1