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

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

Back to the top