std.experimental.testing PR review
Brad Anderson via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jul 22 10:02:35 PDT 2015
On Monday, 20 April 2015 at 13:28:30 UTC, Atila Neves wrote:
> Original library: http://code.dlang.org/packages/unit-threaded
> PR: https://github.com/D-Programming-Language/phobos/pull/3207
>
> It's my first Phobos PR, I tried reading the wiki and doing
> what's required but bear with me if I've screwed up somehow.
>
> I wasn't sure whether or not to split the PR. In the end I just
> took the existing library, edited it a lot and got it ready for
> review.
>
> Unit test blocks can be named with @Name. They execute in
> parallel by default but that's only if the default runner is
> used.
>
> Atila
Looks solid. I'm, shamefully, not a heavy user of unit testing
but it appears to have everything I typically use from Google
Test (C++) and is much more friendly to use thanks to the
reflection and attributes.
What's a scenario where you'd want a hidden test?
More information about the Digitalmars-d
mailing list