Postmortem: Template unittests are bad & you shouldn't catch Error
Jacob Carlborg
doob at me.com
Fri Oct 23 09:19:01 UTC 2020
On Thursday, 22 October 2020 at 19:34:45 UTC, Adam D. Ruppe wrote:
> Of course that is an extra step so the unittest does have the
> advantage of being obvious and built in, but the official
> website could compile them as part of its existing auto test.
> And it can do it using the same live environment end users
> actually try, so same imports, same compiler version present on
> the "try it now" website, etc., for a more accurate test.
It needs to work for every project, not just Phobos which has the
"try it now".
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list