Integrating flexibility into class behavior. When designing class behavior, knowing ahead of time how that function will need to be… Read more C# 4.0 Parameterless Functions
Category: web
TDD: Testing with Stub Methods
Adding flexibility to return values using Stub methods. Continuing on my “Testing with Dummy objects” article, you might have noticed… Read more TDD: Testing with Stub Methods
TDD: Refactoring with Polymorphism
Using polymorphism to refactor SRP violations. Single Responsibility Principle (SRP) violations are one of the most common issues found in… Read more TDD: Refactoring with Polymorphism
TDD: Mocking with Dummy Objects
Using custom objects in place of a mocking framework. When it’s desired to avoid the overhead of a mocking framework… Read more TDD: Mocking with Dummy Objects
TDD: Assets
Leveraging overloaded Assert() methods to enhance test methods. Continuing from my TDD: Mocking with Dummy objects article, I wanted to… Read more TDD: Assets