Bug 18745 – Custom coverage reporter in core.runtime

Status
NEW
Severity
enhancement
Priority
P4
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-04-08T19:06:39Z
Last change time
2024-12-07T13:38:15Z
Assigned to
No Owner
Creator
Andre
Moved to GitHub: dmd#17166 →

Comments

Comment #0 by andre — 2018-04-08T19:06:39Z
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
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17166 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB