Writing a unit test for a singleton implementation
Idan Arye
GenericNPC at gmail.com
Wed May 15 15:29:58 PDT 2013
On Wednesday, 15 May 2013 at 21:09:55 UTC, Sebastian Graf wrote:
> I would create a seperate Test suite for race tests and execute
> them multiple times if need be... But there are a million
> better sources on the internet than me on that topic.
One of the primary goals of the Phobos unit tests is to easily
catch a change that causes problems with the usage of some Phobos
component. If I create a second test, it won't be run by the
autotester nor by people making changes to dmd\druntime\Phobos
More information about the Digitalmars-d
mailing list