Talk in English - US at php[tek] 2023
View Slides: https://www.slideshare.net/MarkNiebergall/leveling-up-with-unit-testing-phptek-2023
Short URL: https://joind.in/talk/3d45f (QR-Code (opens in new window))
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 will also discuss overcoming common biases, unit testing challenges, and shortcomings of unit testing.