Properties for unittests

Seb via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 2 05:18:48 PDT 2016


On Saturday, 2 July 2016 at 11:50:15 UTC, qznc wrote:
> On Saturday, 2 July 2016 at 11:27:57 UTC, Lodovico Giaretta 
> wrote:
>> On Saturday, 2 July 2016 at 11:25:51 UTC, Lodovico Giaretta 
>> wrote:
>>> What emerged in a previous thread[1], unittests that can't be 
>>> @safe have to be explicitly marked @system, so that it is 
>>> obvious to the reader that the functionalities tested are not 
>>> @safe.
>>>
>>> [1] http://forum.dlang.org/thread/nkn1g6$b00$1@digitalmars.com
>>
>> This post in particular:
>> http://forum.dlang.org/post/nkn25t$btk$1@digitalmars.com
>
> Thanks.
>
> I added this to the wiki: 
> https://wiki.dlang.org/Get_involved#Review_pull_requests

Once all unittests in Phobos have annotations, we should enable 
an automatic test with Travis. Could be a simple Dscanner plugin.


More information about the Digitalmars-d mailing list