[Issue 18745] New: Custom coverage reporter in core.runtime

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 8 19:06:39 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18745

          Issue ID: 18745
           Summary: Custom coverage reporter in core.runtime
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: andre at s-e-a-p.de

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.

--


More information about the Digitalmars-d-bugs mailing list