Blog Archives

TDD and Static methods: Resorting to integration testing.


Generally, when we are dealing with unit tests and static methods, we usually have to resort to various tricks in order to mock out the static dependency. The downside to this is that for the sake of unit testing some

Tagged with:
Posted in .NET, TDD

SemanticComparison for writing better tests


The main purpose of SemanticComparison is that it allows for the easy comparison of objects. There are other ways to do this comparison but today it helped me in not having to pollute my production code. Consider the following code:

Tagged with:
Posted in .NET, TDD

Outside in TDD clarifications


If you have been trying to follow the tutorial on Outside in TDD by Mark Seemann but don’t have access to the source code, then you will have probably come across certain issues. Here I will detail what I did

Posted in .NET, TDD

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 3 other followers

May 2022
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031