On Tuesday, 16 February 2016 at 12:35:38 UTC, Leandro Motta
Barros wrote:
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?
That is a viable option yes. I will probably end up doing it like
that.
I don't like it though. Since the input is pretty big, it would
need to be kept in an external file. And I don't like my
unittests reading files. Plus they aren't really unittests
either. Oh well. Moving on.
- Coverage Sebastiaan Koppe via Digitalmars-d-learn
- Re: Coverage Leandro Motta Barros via Digitalmars-d-learn
- Re: Coverage Sebastiaan Koppe via Digitalmars-d-learn
- Re: Coverage Chris Wright via Digitalmars-d-learn