Blog Home


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

Installing Codeception and PhpUnit with Composer

Using the Composer dependency manager to install Codeception and PhpUnit

Creating MODX Articles in Code III

Handling placeholders when creating Articles with PHP

Creating MODX Articles in Code II

Creating a blog Article using a MODX chunk for the content

Creating MODX Articles in Code I

Use a PHP script to create new blog Articles