Blog Home


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

Unit Testing IX - Testing a Validator Class

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

Unit Testing VI - A Bad Constructor

An example of a bad (and virtually untestable) constructor

Unit Testing V - Testing in PhpStorm

Running Codeception unit tests inside the PhpStorm code editor

Unit Testing IV - A Practical Test

A unit test that actually tests something

Unit Testing III - Our First Unit Test

A HelloWorld unit test to make sure everything works

Unit Testing II - Command Line Testing

Running unit tests from the command line

Unit Testing I - Organization and Configuration

Organizing and configuring our testing system