After some investigation I think that the issue behind the coverage loss is that the coverage files are being overwritten when several binaries are executed, so only the last is reported.
-l, --long-file-names
For coverage output of files included from the main source file, add the main file name followed by ## as a prefix to the output file names. This can be combined with the –preserve-paths option to use complete paths for both the main file and the included file.
After some investigation I think that the issue behind the coverage loss is that the coverage files are being overwritten when several binaries are executed, so only the last is reported.
To avoid this I've added the
-l
flag:Fixes https://github.com/mapbox/wagyu/issues/90