Consider the following interface that takes a variable number of arguments in its Add method. public interface IAdder { string Add(params string[] items); } And consider that we have to test the follo… more →
Some Creativityisaiahperumalla wrote 6 months ago: The intent of my recent paper, was to demonstrate how mock objects could be used to discover roles, … more →
Sid wrote 1 year ago: Consider the following interface that takes a variable number of arguments in its Add method. public … more →
Sid wrote 1 year ago: The best thing about fluent-style APIs is that they are readable and flow easily. Consider the follo … more →
Sid wrote 1 year ago: Singleton is probably one of the most (mis-)used design patterns. In this article I intend to lay ou … more →
Sid wrote 1 year ago: Indexers allow objects to behave like arrays. Dictionary class in .NET, for example, provides an ind … more →
Sid wrote 1 year ago: There appears to be inadequate documentation on setting up expectations in NMock for methods that ac … more →
leftshift wrote 1 year ago: We have been producing code quality dashboards at work. They are produced by our CI server whnever a … more →
mdenomy wrote 1 year ago: I’ve typically used the C# using construct to wrap an instance on an object that has a short l … more →
Jay wrote 2 years ago: At work I am currently taking a component written by some other teamates and bringing it under test. … more →
joewalnes wrote 5 years ago: An article about NMock has appeared in the October issue of MSDN Magazine. Chuffed Mock Objects to t … more →