I want to set a custom coverage reporter in core.runtime to generate e.g. a Cobertura XML instead of multiple lst files.
My current workaround is to generate the XML based on the lst files and the DMD -X JSON file after the test executable run. The -X JSON file I need to get the distinct module name for each lst module file.
Similar to existing Dub unittest libraries (d-unit, unit-threaded, ...) this would allow to have custom code coverage reporters as dub libraries.
Comment #1 by robert.schadek — 2024-12-07T13:38:15Z