Leveling Up with Unit Testing
Mark Niebergall
PHP Tek 2023
Intermediate (some prior knowledge necessary)
Standard Session (45-60 minutes)
Writing unit testing on a project can seem like a daunting task, and earning team and leadership buy-in can be challenging. Level up your skillset as we cover PHPUnit and Prophecy setup with composer, writing meaningful tests, restructuring existing classes with dependency injection to allow for unit testing, using mock objects, and releasing code confidently with test coverage. We'll also discuss overcoming common biases, unit testing challenges, and shortcomings of unit testing.
Up Next from PHP Tek 2023
HAL It Works
Tim Lytle · Standard Session (45-60 minutes)
Attackers want your data and they're getting it from your API
Tim Bond · Standard Session (45-60 minutes)
Asynchronous Awesome - Task Management in PHP
Eric Mann · Standard Session (45-60 minutes)
MySQL Indexes -- How They Really Work
Dave Stokes · Standard Session (45-60 minutes)