Blog Home


Integration Testing II - Installing MODX and Using Fixtures

Creating a test version of MODX and using it as a fixture in testing

Integration Testing I - Data Providers

Performing integration testing, with a more complex data provider

Code Coverage II

Interpreting code coverage methods and some advice about using them

Code Coverage I

Introduction to code coverage and tips for installing code coverage tools

Unit Testing XVI - Wrapup

A review and evaluation of the series on unit testing and a preview of code coverage

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