How can one reliably run unittests

Mathias LANG geod24 at gmail.com
Thu Aug 26 04:12:56 UTC 2021


On Wednesday, 25 August 2021 at 11:11:24 UTC, Steven 
Schveighoffer wrote:
> Disagree. I'm fine with the simple unittest experience, and 
> avoiding putting all this kind of bloat into the runtime.
>
> -Steve

What bloat ? Is it the amount of code needed, or the binary size 
that bothers you ?

For the former, we already have many framework doing this, so 
there's a real interest in having it, and having it in a single 
place means that improvements will be centralized, instead of 
being duplicated. So, less code bloat when you look at the big 
picture.

For the later, I've never seen anyone bother about unittest 
binary size. I don't think we should. And if the unittest 
framework code ends up in the binary when `-unittest` is not 
used, we're doing it wrong.


More information about the Digitalmars-d mailing list