On 5/1/14, 12:05 PM, Johannes Pfau wrote:
Am Thu, 01 May 2014 08:07:51 -0700
schrieb Andrei Alexandrescu <[email protected]>:
On 5/1/14, 4:31 AM, Johannes Pfau wrote:
@Andrei do you think having to explicitly import modules to be
tested is an issue?
Well it kinda is. All that's written on the package is "unittest", we
should add no fine print to it. -- Andrei
It'd be possible to make it work transparently, but that's much
more work. We might need to do that at some point, as it's also
necessary for std.benchmark and similar code but for now that's probably
over-engineering.
Here's the revived pull request:
https://github.com/D-Programming-Language/dmd/pull/3518
https://github.com/D-Programming-Language/druntime/pull/782
I'm unclear what this work does even after having read the description.
What does it require in addition to just sprinkling unittests around? --
Andrei