Options for unit testing in D?
XavierAP
n3minis-git at yahoo.es
Fri Jun 21 12:40:16 UTC 2019
On Friday, 21 June 2019 at 04:08:42 UTC, Mike Brockus wrote:
>
> I am wondering as to what options are available for a Meson
> build user when unit testing?
Unit tests are part of the language in D:
https://dlang.org/spec/unittest.html
These are compiled when you (or whatever build system you use)
pass the argument -unittest to the compiler.
> If you never herd about Meson before:
> 🤔. https://mesonbuild.com/
D has an "official" build manager, called dub. Of course you're
free to use another one you prefer.
https://dub.pm/getting_started
PS also embedded documentation is part of the language (no need
for e.g. doxygen):
https://dlang.org/spec/ddoc.html
More information about the Digitalmars-d-learn
mailing list