Laravel 5.4 introduces a new HTTP testing layer that replaces a lot of the testing helpers that came with 5.3.
In these quick screencasts (taken from Test-Driven Laravel), I'll show you how to upgrade a Laravel 5.3 test suite for Laravel 5.4.
Upgrading to Laravel 5.4
First, let's upgrade to Laravel 5.4 and get our test suite back to green using Laravel's BrowserKit compatibility package.
Removing the BrowserKit Dependency
Next, let's refactor our BrowserKit tests to use Laravel 5.4's native testing helpers, so we can remove our dependency on the package.
Trying to wrap your head around testing? Test-Driven Laravel is a course I recently launched that teaches you how to TDD an app from start to finish. Learn more about it here.