Category Archives: Talk

Introduction to WordPress unit testing

I gave a talk at WordCamp Toronto 2015 on WordPress unit testing. This is the companion article that I wrote for it. If you’re just looking for the slides, click here.

“But this worked the other day!”

I don’t know about you, but reading that sentence just frustrates me! Don’t you hate when things worked one day and it doesn’t the next. It’s the stuff of (developer) nightmares.

What if there was a way to ward yourself against that evil? Well, you’re in luck because that’s the goal of software testing! It prevents this situation from happening over and over again. On top of that, it helps you improve the quality of the code you write. Awesome!

Now, software testing is a HUGE field. You have a ton of different types of testing. Each with its own purpose (and, sometimes, philosophy). Today, we’re going to focus on just one type of testing. It’s called unit testing.

Continue reading Introduction to WordPress unit testing

Keeping Your WordPress Safe

The Montréal WordPress community held an event this month on WordPress security. The event had a talk followed by a “show and tell” segment. This is the companion article for that talk.

This is an important topic for everyone. Not just for WordPress experts. So it’s great to have a chance to teach the community about it.

The goal of the talk was to give everyone an overview of WordPress security. That includes basic concepts and some recommendations. The recommendations themselves target WordPress users of all skill levels. If you’re an advanced WordPress user, you might not learn as much.

Continue reading Keeping Your WordPress Safe