An Introduction to Unit Testing (for WordPress)

We’ve all had these “Wait, what? That worked the other day!” moments. They usually happen after we introduced a new feature but broke existing functionality in the process. This is why we often don’t feel confident that our code is working as expected. When developing plugins—or whole websites—this is important, though. Clients expect that making changes won’t break their sites. But can we be sure of that?

There is a solution for that, and it’s called Unit Testing! During this hands-on workshop, we’ll help you understand what testable code is and how to write unit tests for it. Armed with this knowledge, you’ll be able to prevent these embarrassing moments from ever happening again.

 

Required skill set

It is a development-specific workshop, so you should have an idea about coding in general. Besides that, the workshop itself does not require any specific skill or knowledge.

Technical requirement

You should have PHP and (or) Node.js installed, either locally or in a virtual machine. You dont’t need a complete server stack (i.e., no webserver, or database server). If you want to use a specific testing tool/framework (and not the ones that we will be using) you should have them set up already.

 

Speakers

Categories