Is it acceptable to not parse unittest blocks when unittests are disabled ?
XavierAP via Digitalmars-d
digitalmars-d at puremagic.com
Wed Mar 29 23:53:47 PDT 2017
On Wednesday, 29 March 2017 at 11:16:28 UTC, deadalnix wrote:
>
> Is that an acceptable tradeof ?
I would consider this harmful... The spec already states this
about unit tests, so I'd guess the decision was taken in the past
conscientiously.
If you're worried about compilation time, you can always define
your unit tests in separate files that are included for
compilation only when needed.
More information about the Digitalmars-d
mailing list