June 19, 2019
WordPress is a tightly-coupled system, representing over a decade and a half of ideas, decisions, technological shifts, and ideological struggles. There’s a lot of history to be parsed and often the simplest task can have unintended consequences.
Meanwhile, automated testing is one of the best ways to ensure software can be released regularly with high confidence and low risk of regressions. Sadly, the leap from “building WordPress plugins” to “building WordPress plugins with tests” is often viewed as a challenging hurdle. Luckily, there are tools to set up a test harness within an existing codebase with ease.
This talk introduces the fundamentals of automated testing, especially within the context of WordPress. After developing an understanding why automated testing is so critical, attendees will learn how to begin testing their plugins and themes, using features found both in PHPUnit and the WordPress core testing framework, to build and release quality software.