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

Mixins

__anonymous
mixin runTestsMainHelper!()
Undocumented in source.

Meta