Should unittests run as logical part of compilation?
Simen Kjærås
simen.kjaras at gmail.com
Mon Jan 27 05:01:40 PST 2014
On 2014-01-25 22:55, Andrei Alexandrescu wrote:
[Good stuff]
>
> What do you think? Logistically it shouldn't be too hard to arrange
> things to cater to this approach.
As evinced by Bugzilla 5091[0], I always run unit tests separately from
the rest of the program, and so fully support this motion. As others
have pointed out, there are possible problems with cross-compilation,
but all in all, I think treating unit tests as a build step rather than
something to do with execution is a Good Thing™.
[0]: https://d.puremagic.com/issues/show_bug.cgi?id=5091
--
Simen
More information about the Digitalmars-d
mailing list