Unit Testing.
1 post
- 01
Testing WP-CLI Commands with PHPUnit and Behat (opens in a new tab)
MediumWhat to prove about a WP-CLI command before it runs unattended against production. PHPUnit for the logic, Behat against the real wp binary, and the places WP-CLI resists unit testing.