You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting from OpenCover to Lcov the Lcov file is missing branch coverage. Also, the test name is only populated for the first file and ignored for the rest.
Questions:
Is there anything stopping Lcov from populating branch coverage if you're converting an OpenCover file which has branch coverage included?
Should we not be putting TN: at the beginning of every file for coverage? My knowledge on this subject comes from istanbul which populates it and leaves the value empty (like "TN:") and it's good because it lets the user know a new fragment or file for coverage has started.
The text was updated successfully, but these errors were encountered:
Regarding 1:
Latest release 4.4.1 will also emit additional information, including branch coverage. The following elements are now available:
FNDA
FNF
FNH
BRDA
BRF
BRH
Regarding 2:
Every file starts with an SF element and end with end_of_record.
The TN element is intended for the overall test name and appears only once per file.
See: http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php
When converting from OpenCover to Lcov the Lcov file is missing branch coverage. Also, the test name is only populated for the first file and ignored for the rest.
Questions:
The text was updated successfully, but these errors were encountered: