PHPUnit is the official testing framework chosen by the core team to test our PHP code. Setup 1. Install PHPUnit. WordPress uses PHPUnit, the standard for unit testing PHP projects. Installation instructions can be found in the PHPUnit manual or on the PHPUnit Github repository. Note: The latest release of PHPUnit is 8.x, WordPress is … Continue reading PHP: PHPUnit