The Evil Singleton: FREE Webinar - Watch Now

Register here to get your FREE Content


Presented by Gil Zilberfeld – Product Manager, Typemock

The Singleton is a well-known pattern in software.It’s got a lot of bad reputation too, since it makes testing more difficult. It has even come to being called “Evil”.

In this webinar we’ll talk about singletons, and when to use them.
We’ll also explore different testing scenarios, and different methods to deal with them, from complete rewrite, substitution with test doubles and using a mocking framework to fake them behind their back.

Examples will be shown in .NET C# in the glorious gray colors of VS2012.

Please fill the form on the right in order to watch the webinar.