Blog Home


Unit Testing XV - Mock Objects

Using mock objects to test how often a method is executed

Unit Testing XIV – Dependency Injection in the User Class

Adding Dependency Injection to the User class

Unit Testing XIII - Inversion of Control and Dependency Injection

Using Inversion of Control (IOC) and Dependency Injection (DI), to improve your code

Unit Testing XII - Updating the User Class

Updating the User class to pass the new tests

Unit Testing XI - Refactoring the User Class Test

Adapting our User class to handle external validation

Unit Testing X - Creating our Validator Class

Moving validation to a separate class

Dear Google - Why I'm not Switching to YouTube TV

What's seriously wrong with the YouTube TV user interface

Unit Testing IX - Testing a Validator Class

Creating a test for a separate validator class using a data provider

Unit Testing VIII - An Improved User Class

Fixing some problems with the user class

Unit Testing VII - Testing Error Handling with Stubs

Introducing better error handling and unit testing it with using stubs