I’ve done a talk at the Sydney Laravel meetup today about techniques for advanced testing of Laravel composer packages.
Essentially I take viewers through integration testing, and how to test against a realistic fully-fledged Laravel application in order to have more comprehensive and integration level tests for their Laravel packages.
This is really useful for any package developers, or even just contributors. Although the topic is slightly complex, it’s distilled fairly clearly, and the end result of what to do is actually quite simple!
Along with the usual slides, below you will find one of my Laravel packages, which I used during the presentation to demonstrate the concepts in the talk.