world it needs • Application state needs to be cleared after each test • Laravel handles database via migrations and RefreshDatabase trait • DBML to Migration Files
as you come across them • maybe PR it separately? • Fight the urge to refactor • Sometimes it's best just to document the current behavior even if it is a "bug"
Grumpy Programmer’s Guide To Testing PHP Applications • Book - The Complementary PHP Testing Tools Cookbook • Video - You're (Probably) Testing Things Wrong