The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Dealing With Singletons in .NET Unit Testing

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Franco Martinig

Posts: 5631
Nickname: martinig
Registered: Apr, 2003

Scrum Expert
Dealing With Singletons in .NET Unit Testing Posted: Apr 15, 2013 3:55 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Franco Martinig.
Original Post: Dealing With Singletons in .NET Unit Testing
Feed Title: .NET Videos & Tutorial Directory
Feed URL:
Feed Description: .NET Tutorials and Videos: C#, ASP, SQL Server, Linq, Visual Basic, Silverlight, Azure, Visual Studio
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Franco Martinig
Latest Posts From .NET Videos & Tutorial Directory

This video discusses singletons, and when to use them.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”. We 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 are shown in .NET C# in the glorious gray colors of VS2012.

Read: Dealing With Singletons in .NET Unit Testing

Topic: Implementing Scrum using Team Foundation Server 2012 Previous Topic   Next Topic Topic: C# and LINQ Performance tips

Sponsored Links


Copyright © 1996-2018 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use