Payton Swick: Writing Testable Plugins

Continue the discussion

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


August 14, 2016

Over the course of WordPress’s existence, PHP has evolved into a first-class language. Unfortunately, left-overs like the global namespace make it all too easy to write code that’s hard to test. I’d like to take you on a tour through writing a WordPress plugin in a way that makes testing easy. Using features like generators, dependency injection, spies, and stubs, you can write tests which rock and produce better code while you’re at it!

Presentation Slides »

Rate this:


WordCamp Boston 2016 37


Payton Swick 1


Plugins 345
Testable Plugins 1


English 9744

MP4: Low, Med, High, Original
OGG: Low
Subtitle this video →
%d bloggers like this: