Then will run programs that generates the .lcov files first (in this case flutter test --coverage) and want to combine all the lcov.info files into a central overview.
I used lcov-result-merger '**/lcov.info' coverage/combined.info. That produced a valid file but discarded the relative path to the source files references in the sub directories, leading to genhtml errors like this:
I think that lcov-result merger should try to adjust the subdirectory path to "module1.dart", so that genhtml tries to resolve packages/module1/lib/module1.dart instead.
Given a repository directory structure like this, from a Flutter project:
Then will run programs that generates the .lcov files first (in this case flutter test --coverage) and want to combine all the lcov.info files into a central overview.
I used
lcov-result-merger '**/lcov.info' coverage/combined.info
. That produced a valid file but discarded the relative path to the source files references in the sub directories, leading to genhtml errors like this:I think that lcov-result merger should try to adjust the subdirectory path to "module1.dart", so that genhtml tries to resolve
packages/module1/lib/module1.dart
instead.