Library PHP Tek 2023 Leveling Up with Unit Testing
Leveling Up with Unit Testing

Leveling Up with Unit Testing

MN
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.