There is a good set of articles about Unit Test Patterns in the TypeMock™ site: Unit-Test Patterns for .NET - Part I This article looks at patterns in unit testing and describes the main patterns found in tested .NET code. It also describes the problems with each pattern. Unit Test Patterns for .NET...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
12-26-2007
Filed under: .NET, Community, SoftDev, C#, Microsoft, MSDN, MVP, Tools, Testing, UnitTests, TypeMock
TypeMocks™ 4.0.0 is now available . In my previous analysis mentioned two drwanbacks of this mocking framework: The lack of a mocking scope. The lack of the use of Generics in its APIs. Let's start with the second one. Generic Reflective API TypeMocks™ was the same tool for both the .NET 1.1 and...
Posted to
Paulo Morgado
(Weblog)
by
Paulo Morgado
on
05-20-2007
Filed under: .NET, Architecture, Community, SoftDev, C#, Microsoft, MSDN, MVP, Tools, VisualStudio, Testing
Reading this post from Michael Puleio's blog I got to this post from Michael Feathers' blog . In his post Michael Feathers doesn't state what a unit test is, but what a unit test isn't. And, sometimes, this is just enough to help a lot. A test is not a unit test if: It talks to the database It communicates...