Sign in
ploeh blog
Mark Seemann's discontinued .NET blog.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Component Development
Dependency Injection
Enterprise Library
Miscellaneous
Pages
Productivity
Services
Software Design
Unit Testing
Archive
Archives
February 2009
(1)
January 2009
(7)
December 2008
(6)
November 2008
(6)
October 2008
(4)
September 2008
(1)
August 2008
(2)
July 2008
(2)
June 2008
(5)
May 2008
(2)
April 2008
(3)
March 2008
(5)
February 2008
(2)
January 2008
(1)
December 2007
(2)
November 2007
(4)
October 2007
(4)
September 2007
(3)
August 2007
(4)
July 2007
(3)
June 2007
(5)
May 2007
(8)
April 2007
(5)
March 2007
(2)
February 2007
(4)
January 2007
(2)
December 2006
(4)
November 2006
(3)
October 2006
(4)
September 2006
(2)
August 2006
(5)
July 2006
(4)
June 2006
(3)
May 2006
(2)
April 2006
(1)
March 2006
(5)
February 2006
(4)
January 2006
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
ploeh blog
Mocking Generic Methods With NMock2
Posted
over 7 years ago
by
ploeh
15
Comments
Recently I was asked how to mock a generic method, now that NMock2 supports generics. Here's how: Suppose you have this interface: public interface IMyInterface { T DoStuff<T>(); } And this class using IMyInterface: public class MyClass...
ploeh blog
Console Unit Testing
Posted
over 7 years ago
by
ploeh
6
Comments
In many scenarios, console applications are very useful, but if you have a console application of intermediate complexity, you should obviously unit test it like all the other code you write - right? If you have a console application as an administration...
ploeh blog
Generating NotImplementedException Instead Of Exception
Posted
over 7 years ago
by
ploeh
0
Comments
Ever since I started using Visual Studio 2005, I've been enjoying its refactoring features, but it has always been bugging me that when you generate a new method stub or implement an interface or abstract class, the auto-generated method throws System...
ploeh blog
Speaking at .NET Days 2006
Posted
over 7 years ago
by
ploeh
0
Comments
The week after speaking at TechEd , I'll be giving a talk at .NET Days 2006 in Århus. In this talk , I'll be talking a bit about data access component testing. In my terminology , these are not unit tests, but integration tests, but that does not mean...
Page 1 of 1 (4 items)