On Fri, 16 Sep 2011 14:39:01 -0400, Andrej Mitrovic <andrej.mitrov...@gmail.com> wrote:

On 9/16/11, Steven Schveighoffer <schvei...@yahoo.com> wrote:
http://d.puremagic.com/issues/show_bug.cgi?id=4669

Thanks. I even commented on that one yesterday but couldn't find it
today because I search for "unittest" instead of "unit test", heh!

Anyway, my build command becomes significantly more complicated if I
want to unittest libraries. I essentially have to copy the build
command for the library, and then mix that in with the build command
for the app itself. Pain in the arse! :]

I agree, it needs to be fixed. I think the reason it hasn't gotten much attention is because most people using a library do not want to unit test the library, and the library authors typically do not use the -lib switch when unit testing the library.

I know for dcollections, I have a separate command line for unit testing which doesn't use -lib.

-Steve

Reply via email to