Cumulative code coverage?

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Mar 21 19:35:08 UTC 2018


On Wed, Mar 21, 2018 at 05:34:58PM +0000, Seb via Digitalmars-d wrote:
> On Wednesday, 21 March 2018 at 16:39:48 UTC, H. S. Teoh wrote:
> > Is it possible to get cumulative code coverage using dmd? I.e.,
> > accumulate code coverage stats over a series of runs from an
> > external test suite.
[...]
> Yes, either set dmd_coverSetMerge(true) or pass --DRT-covopt "merge:1"
> to your program.
[...]

Cool, passing --DRT-covopt="merge:1" did the trick.

Thanks!


T

-- 
Bare foot: (n.) A device for locating thumb tacks on the floor.


More information about the Digitalmars-d mailing list