Introduction to Unit Testing WordPress Plugins

This presentation is an introduction to how to unit test WordPress plugins. PHPUnit is the standard PHP testing framework, but getting it working with a WordPress plugin is challenging. The presentation covers: – Advantages that unit tests provide – Scaffolding a new plugin and its unit tests using WP-CLI – Writing and running the first unit test.

Speaker

WordCamp San Diego 2018 is over. Check out the next edition!