Payton Swick: Writing Testable Plugins

Continue the discussion

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

Published

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:

Event

WordCamp Boston 2016 37

Speakers

Payton Swick 1

Tags

Plugins 6
Testable Plugins 1

Language

English 4034

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