foreach (module_; ModuleInfo)
{
    auto func = module_.unitTest;
    func(); // run tests;
}

The above code retrieves all of the current project's modules and then grabs each module's unit test blocks. The only trouble is that the module's unit tests are kinda rolled into one function as show by the 'func' variable above. It would be nice to do this but get each individual unit test instead of dealing with these rolled up versions.

Reply via email to