Coverage

Leandro Motta Barros via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Feb 16 04:35:38 PST 2016


You probably already though of it, but: can't you create a unittest that
calls your code as many times as desired, passing different input each time?

LMB


On Tue, Feb 16, 2016 at 10:16 AM, Sebastiaan Koppe via Digitalmars-d-learn <
digitalmars-d-learn at puremagic.com> wrote:

> I currently run dmd's coverage on my unittests.
>
> But now I also want to execute my program with different inputs and then
> merge all that coverage info from each run.
>
> Any chance there is something for that?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20160216/166e203f/attachment.html>


More information about the Digitalmars-d-learn mailing list