Running unittests in static libraries.

Boyd gaboonviper at gmx.net
Tue Mar 11 01:08:37 PDT 2014


I've run across an annoying bug in DMD. Apparently unittests 
compiled in a static library are not run in the executable. This 
pretty much makes them useless to me since for the project I'm 
working on, all business code is in static libraries. The 
executable project is only a shell to test the libraries.

Now, I'm using VisualD for development. Is there any way around 
this problem that would run the unittests with post build 
commands or something?

Cheers,
Boyd


More information about the Digitalmars-d-learn mailing list