runTestsMain

Runs all tests in passed-in modules. Modules can be symbols or strings but they can't mix and match - either all symbols or all strings. It's recommended to use strings since then the modules don't have to be imported first. Generates a main function and substitutes the default D runtime unittest runner. This mixin should be used instead of runTests if a shared library is used instead of an executable.

mixin template runTestsMain (
Modules...
) if (
Modules.length > 0
) {}

Members

Functions

main
int main(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta