60 N Market Street, Asheville, NC
So you have a PHP application, perhaps a WordPress theme, plugin, or child theme. You have it under source control. You have branches that you merge in an effort to maintain a stable version of your application.
But what about the bugs?!? Good heavens, man, the bugs!!
Merging code, especially when authored by multiple people, can lend itself to a lot of risk. As the code base grows, there may be an underlying feeling that more bugs exist than you can find by digging through your code editor or your application’s various screens.
Does this sound like you at all? If so, you should consider joining us as we discuss unit testing in PHP. We’ll learn about the PHPUnit framework and how to install/run it using the command line for both Windows and Mac.
We’ll also discuss why writing unit tests for your application is a good thing, and then give some examples of vanilla unit tests (i.e. framework-agnostic) as well as how to leverage WP-CLI to boost efficiency when writing unit tests for the WordPress environment.
Discussion to be lead by Michael Hull.