Parallel execution of unittests

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 30 12:05:17 PDT 2014


On 4/30/2014 8:54 AM, bearophile wrote:
> I'd also like some built-in way (or partially built-in) to use a module only as
> "main module" (to run its demos) or as module to be imported. This problem is
> solved in Python with the "if __name__ == "__main__":" idiom.

     dmd foo.d -unittest -main



More information about the Digitalmars-d mailing list