How can one reliably run unittests

Mathias LANG geod24 at gmail.com
Fri Aug 27 10:59:54 UTC 2021


On Friday, 27 August 2021 at 10:33:02 UTC, Johan wrote:
> On Friday, 27 August 2021 at 07:48:40 UTC, Mathias LANG wrote:
>>
>> But when I throw in the `-unittest` switch (or the `-cov` or 
>> `-profile` for that matter), I want all the bells and 
>> whistles. Give me colors, an ncurses interface, an HTTP server 
>> even! Give me the full battery pack. Don't expect everyone and 
>> their mother to implement their own testing framework, that's 
>> just bonkers.
>
> Why would you expect a _compiler_ to implement a testing 
> framework?

I don't. I expect the _runtime_ to do it. And to give me the tool 
to override it if I have needs that aren't covered by it. 
Currently it only does the later.


More information about the Digitalmars-d mailing list