Thread overview
[Issue 1587] New: improvments to std.cover
Oct 16, 2007
d-bugmail
Oct 16, 2007
d-bugmail
Nov 29, 2007
d-bugmail
Dec 09, 2008
d-bugmail
October 16, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1587

           Summary: improvments to std.cover
           Product: D
           Version: 1.018
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: shro8822@vandals.uidaho.edu


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.


-- 

October 16, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1587





------- Comment #1 from shro8822@vandals.uidaho.edu  2007-10-16 16:04 -------
Created an attachment (id=194)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=194&action=view)
the patch

a patch to std.cover to add some more functionality


-- 

November 29, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1587


shro8822@vandals.uidaho.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #194 is|0                           |1
           obsolete|                            |




------- Comment #2 from shro8822@vandals.uidaho.edu  2007-11-29 15:44 -------
Created an attachment (id=211)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=211&action=view)
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.


-- 

December 09, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1587


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement




--