PHPUnit is the official testing framework chosen by the core team to test our PHP code. Setup Step 1: Check out the test repository. The WordPress tests live in the core development repository, available via SVN at: Or Git: Step 2: Set up a config file. Copy wp-tests-config-sample.php to wp-tests-config.php, and enter your database credentials. … Continue reading PHP: PHPUnit