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.

McGhee Rich at 14:49 on 17 May 2023

Great overview with examples in different frameworks.

Nate Finch at 15:17 on 17 May 2023

Nice overview, especially between Mockery, Prophecy, and Faker. Thanks!

Greg Fox at 15:58 on 17 May 2023

Great talk with a lot of code examples.