How to run unit tests on Windows?

pineapple via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Apr 14 04:43:42 PDT 2016


On Thursday, 14 April 2016 at 10:50:00 UTC, ag0aep6g wrote:
> Invoked like that, dmd doesn't run the program at all. It just 
> makes an .exe file of it. To run the program simply type its 
> name into the command prompt. So if your source file is foo.d, 
> `dmd foo.d -main -unittest` creates foo.exe, and you run it 
> with `foo`.

I'm haven't got access to my Windows PC at the moment, but that 
sounds like it will solve my problem. Thank you!


More information about the Digitalmars-d-learn mailing list