Library PHP Tek 2026 Advanced PHPUnit shenanigans
Advanced PHPUnit shenanigans

Log in to watch this talk

You need to be logged in to access this video. If you don't have an account, purchase a virtual pass for the latest php[tek] conference to get access to the full video library.

Advanced PHPUnit shenanigans

Larry Garfield Larry Garfield PHP Tek 2026 Intermediate (some prior knowledge necessary) Standard (50 minutes)

Hopefully by now, you know that testing is important, and you've integrated PHPUnit into your workflow. (If not, go watch one of those talks.) So now what? In this "testing 202" course, we'll explore some features of PHPUnit you may not be using (but should), some techniques you may not have thought of, and how to extend PHPUnit yourself for your own nefarious testing purposes. And we'll answer the question, "so what are traits actually good for?"