std.experimental.testing formal review

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 12 06:34:44 PDT 2015


On Wednesday, 9 September 2015 at 15:20:41 UTC, Robert burner 
Schadek wrote:
> This post marks the start of the two week review process of 
> std.experimental.testing.
>
> PR: https://github.com/D-Programming-Language/phobos/pull/3207
> Dub: http://code.dlang.org/packages/unit-threaded
> Doc: See CyberShadow/DAutoTest for up-to-date documentation 
> build
>
> Previous Thread: 
> http://forum.dlang.org/post/uzocokshugchescbawlj@forum.dlang.org

My opinion hasn't changed since last review - it is a very solid 
and useful library but I don't want provided API to become 
standard (== part of Phobos).

I also don't like mixing unittest and higher level functional 
tests (with setup and cleanup phases) into the same buckets - 
this doesn't fit nice with D module system. Latter should be 
placed in a separate modules/package to avoid being picked up by 
rdmd & Co when compiled as dependency.

At the same time actual test running facilities (parallel, 
randomized, etc) look generally applicable and uncontroversial.


More information about the Digitalmars-d mailing list