Bug 1587 – improvments to std.cover

Status
RESOLVED
Resolution
WONTFIX
Severity
enhancement
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2007-10-16T16:02:00Z
Last change time
2015-11-03T17:44:59Z
Keywords
patch
Assigned to
bugzilla
Creator
shro8822

Attachments

IDFilenameSummaryContent-TypeSize
194cover.patchthe patchtext/plain1076
211cover.svn.patcha new patch for the same changetext/plain1034

Comments

Comment #0 by shro8822 — 2007-10-16T16:02:41Z
Included is a path that allows for a program to dump coverage data programmatically (before the end of the run) with an extra name tag and also to zero the counters programmatically. the idea is to use it like this unittest { std.cover.Wipe() scope(exit) std.cover.Dump("Unittest.somthing."); // unittest for something } the you get cov for just that unittest in it's own set of files.
Comment #1 by shro8822 — 2007-10-16T16:04:19Z
Created attachment 194 the patch a patch to std.cover to add some more functionality
Comment #2 by shro8822 — 2007-11-29T15:44:51Z
Created attachment 211 a new patch for the same change this patch works with new version of cover.d. Its also is made using SVN so it should be easy to use.
Comment #3 by andrei — 2015-11-03T17:44:59Z
It's unlikely this D1 issue will get worked on, if anyone plans to work on it feel free to reopen.