automatically verifying code samples in phobos docs
Laeeth Isharc via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Aug 19 20:28:35 PDT 2015
On Thursday, 20 August 2015 at 01:56:31 UTC, Jonathan M Davis
> In general, the code examples are supposed to be unit tests
> with an empty ddoc comment on them so that they're unit tested.
> However, in the case of std.net.curl, because it would be
> contacting websites, I doubt that they're going to be turned
> into ddoc-ed unit tests.
>
> - Jonathna M Davis
unittest could start a local server, but I guess more trouble
than it's worth.
More information about the Digitalmars-d-learn
mailing list