Which is right?
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Mon Feb 16 22:44:28 PST 2015
On Monday, 16 February 2015 at 06:21:22 UTC, H. S. Teoh wrote:
> On Sun, Feb 15, 2015 at 04:02:30PM -0800, Andrei Alexandrescu
> via Digitalmars-d wrote:
> [...]
>> * We have the fastest compiler _and_ language in the world,
>> yet it's
>> impossible to unittest one module; unittesting one requires
>> building a
>> ton of unrelated stuff, which takes a long time.
>
> I thought people have been complaining about this since a long
> time ago?
> That they wanted more control over unittesting? That compiling
> user code
> with -unittest also activates unittest blocks in 3rd party
> library code?
> I guess it's about time to get our act together and fix that...
>
I've been thinking about having a sdunit utility based on
libd/libd-llvm that would jit unittests in a module and run them.
I don't have the bandwidth at this point.
More information about the Digitalmars-d
mailing list