Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho surefire with sources

Thanks for the information. But then can you try to point me in a direction to find out why the Jacoco reports from tycho tests do not include the classes under test information? I only get coverage about the test classes.

Thanks, 

On Thu, 4 Jun 2020, 16:33 Mickael Istria, <mistria@xxxxxxxxxx> wrote:
Hello,

On Thu, Jun 4, 2020 at 4:53 PM arcanefoam@xxxxxxxxx <arcanefoam@xxxxxxxxx> wrote:
The reason is thst I run Jacoco for coverage and since there are no sources for my plugins I only get coverage for the test classes.

At runtime, to produce the jacoco.exec file, Jacoco doesn't need the source. It uses the .class data only, with the debug information (like line numbers) to work well.
Later, when building reports from the jacoco.exec file, sources are needed, but the report step happens separately, not during the test execution.

So you don't need the sources during your tests. This is not an issue.
--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user

Back to the top