Blogs about: Nmock

Featured Blog

Designing inter-object protocols using mocks

isaiahperumalla wrote 1 month ago: The intent of my recent msdn article, was to demonstrate how mock objects could be used to discover … more →

Tags: Mock Objects, Object Oriented Design, Test Driven Design, Arrange Act Assert

Mocking functions taking variable number of args using C# params keyword1 comment

Sid wrote 7 months ago: Consider the following interface that takes a variable number of arguments in its Add method. pub … more →

Tags: .NET

Fluently mocking fluent APIs

Sid wrote 7 months ago: The best thing about fluent-style APIs is that they are readable and flow easily. Consider the follo … more →

Tags: .NET, fluent

Testing methods that depend upon a singleton class1 comment

Sid wrote 7 months ago: Singleton is probably one of the most (mis-)used design patterns. In this article I intend to lay ou … more →

Tags: .NET, private accessors, Singleton, unit test

Mocking indexers with NMock

Sid wrote 7 months ago: Indexers allow objects to behave like arrays. Dictionary class in .NET, for example, provides an ind … more →

Tags: .NET, Tech/Hacks, indexers

NMock expectations for functions accepting "ref" and "out" arguments

Sid wrote 8 months ago: There appears to be inadequate documentation on setting up expectations in NMock for methods that ac … more →

Tags: General, expectations, out keyword, ref keyword

Quality in the Real World

leftshift wrote 10 months ago: We have been producing code quality dashboards at work. They are produced by our CI server whnever a … more →

Tags: code quality, Metrics, asp.net mvc, Dashboard, log4net, NUnit

Rethinking the C# using statement2 comments

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 →

Tags: C#

Test Driven Development, Mocking, and Breaking dependencies4 comments

Jay wrote 1 year ago: At work I am currently taking a component written by some other teamates and bringing it under test. … more →

Tags: .NET, TDD

NMock vs NMock2

Vijay Patil wrote 1 year ago: I have been using NMocks for nearly 2 years. I recently stumbled upon NMock2 and got intrigued by it … more →

NMock article in MSDN Magazine

joewalnes wrote 4 years ago: An article about NMock has appeared in the October issue of MSDN Magazine. Chuffed Mock Objects to … more →

Tags: Software, .NET, Testing, C#, Mocks


Have your say. Start a blog.

See our free features →

Related Tags
All →

Follow this tag via RSS

Find other items tagged with “nmock”:
Technorati Del.icio.us IceRocket