Singletons and testing
Singletons and testing
Submitted by /* Rambling comments... */ on Sat, 21/08/2004 - 00:50.When you need to jump through hoops to write tests you've done it wrong. Jonathan de Halleux writes about testing singletons and how he can subvert the standard C# singleton pattern to create a new singleton for each test he needs to run for the singleton. Omer then subverts the rules another way. Both are wrong.
