Boom, working version on Windows: http://codepad.org/cLYFwRin For Linux have a look at core.runtime, in particular the "runModuleUnitTests" function. I didn't even know we could do this. Pretty neat!