So you think you know PHPUnit

So you think you know PHPUnit

PHPUnit has been around for 25 years and is used by almost all PHP developers worldwide. Most people know the basics, but there is still a lot to discover in PHPUnit. Even the most experienced developers may not have heard of some of its features.

In this presentation, I show you how to properly use all the less commonly used features of PHPUnit. You will learn how to get even more out of the tool you use every day.

Over time, this presentation has evolved, with each edition being updated to reflect the latest features and best practices in PHPUnit. So, whether you have seen an earlier version or look at the material for the first time, you will discover something new.

I most recently presented “So you think you know PHPUnit” at DrupalCon on in Vienna. Previous events include Symfony User Group Cologne, Vienna PHP, SymfonyLive Berlin, Laracon EU, and PHP Developer Day.

About me

I am Sebastian Bergmann. I started writing PHPUnit in 2000 and still maintain it. In the same year I gave my first talk at a PHP conference. PHPUnit has been installed more than a billion times from Packagist, and a new major version comes out every February.

As a co-founder of The PHP Consulting Company (thePHP.cc), I work with teams on their tests: on test strategy and test design, on testable code, on fast test runs and on upgrades to current versions of PHPUnit. More on this under consulting and coaching.

Where you can meet me next is listed under events. The next dates of my training courses are in the training overview.

Upcoming events

Frankfurt am Main

PIMCORE Community Dev Days

On , I will be in Frankfurt am Main at the PIMCORE Community Dev Days. There I will give the presentation “Speed is a byproduct of trust”.

Stay up to date with PHPUnit

You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.

You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.