[ODLPARENT-274] SingleFeatureTest does not contribute to JaCoCo correctly Created: 17/Oct/21  Updated: 09/Jan/24

Status: Confirmed
Project: odlparent
Component/s: SFT
Affects Version/s: None
Fix Version/s: 14.0.0, 13.0.11

Type: Task Priority: Medium
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to YANGTOOLS-1167 maven-plugin-it does not contribute t... Resolved

 Description   

Core problem is that a ton of MD-SAL wiring classes are OSGi-only and are reported as completely uncovered.

One problem is that JaCoCo is disable for SFT, but even if it were, the execution report covers only SFT code, not the launched Karaf instance.

YANGTOOLS-1167 offers hints why this is happening: we are using JaCoCo for the surefire JVM and do not pass argLine to the Karaf instance. As explained there, we need to perform a slight trick and run SFT without the options, but Karaf with those options.



 Comments   
Comment by Robert Varga [ 19/Dec/21 ]

Reopen, as the execution profiles still need to be sorted out.

Generated at Wed Feb 07 20:28:05 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.