Posts tagged unit-testing

Introducing AsyncUnit

May 26th, 2021
I ran into some problems creating an integration test in an Amp powered application that needed to establish a connection to a database. Not finding a suitable solution with PHPUnit or existing testing frameworks I started writing my own with first-class support for asynchronous PHP.

Asynchronous testing with amphp and PHPUnit

February 9th, 2019
While writing unit tests for Amp I discovered a way PHPUnit could be modified to reduce amount of boilerplate. This article talks about contributions I made to the amphp-phpunit-util wrapper to make testing with Amp a lot easier!