Unit Testing Overview

The continued health of your software is important. With software testing in general, we focus on two types of testing: Unit Testing for testing each single...

Unit Testing PHP with PHPUnit

For a background on Unit Testing in general, check out the post on Unit Testing Overview. Example PHPUnit Tests If you have installed PHPUnit and want...

Test async code using done() with Mocha

When testing asynchronous code in Mocha, we need to be sure that we are letting Mocha know so it can handle the test case correctly. Setting...