May 15, 2012 [phobos] unittest.d | ||||
---|---|---|---|---|
| ||||
Hi,
I have a few questions regarding this file:
1) Is it only used on Windows?
2) Why does it call functions from all modules? Isn't importing them enough?
3) Couldn't it be replaced altogether with the testing scheme used on POSIX?
Regards,
Alex
_______________________________________________
phobos mailing list
phobos@puremagic.com
http://lists.puremagic.com/mailman/listinfo/phobos
|
May 15, 2012 Re: [phobos] unittest.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alex Rønne Petersen | On Tuesday, May 15, 2012 14:43:49 Alex Rønne Petersen wrote: > 3) Couldn't it be replaced altogether with the testing scheme used on POSIX? It's arguably desirable to have everything tested as one executable on Windows, because that way we can catch circular dependencies. With the scheme that's used on Posix, we can't do that very well. The main catch is that we've sometimes had to fix circular dependencies which were caused by unit tests rather than normal code. - Jonathan M Davis _______________________________________________ phobos mailing list phobos@puremagic.com http://lists.puremagic.com/mailman/listinfo/phobos |
Copyright © 1999-2021 by the D Language Foundation