Talk in English - US at php[tek] 2023
Track Name:
Laravel Studio
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.
Comments
Comments are closed.
Great overview with examples in different frameworks.
Nice overview, especially between Mockery, Prophecy, and Faker. Thanks!
Great talk with a lot of code examples.