No description or website provided.
Latest commit ef705e6 Jan 16, 2017 @taylorotwell taylorotwell committed on GitHub Merge pull request #5 from vinkla/patch-1
Update and rename LICENSE.txt to
Failed to load latest commit information.
src first Dec 6, 2016
.editorconfig first Dec 6, 2016
.gitattributes first Dec 6, 2016
.gitignore first Dec 6, 2016 Update and rename LICENSE.txt to Jan 16, 2017
composer.json Update email address Jan 14, 2017 Added use CreatesApplication trait Dec 26, 2016

Laravel BrowserKit Testing

This package provides a backwards compatibility layer for Laravel 5.3 style "BrowserKit" testing on Laravel 5.4.


First, install this package:

composer require laravel/browser-kit-testing --dev

Next, modify your application's base TestCase class to extend Laravel\BrowserKitTesting\TestCase instead of Illuminate\Foundation\Testing\TestCase:


namespace Tests;

use Laravel\BrowserKitTesting\TestCase as BaseTestCase;

abstract class TestCase extends BaseTestCase
    use CreatesApplication;

    public $baseUrl = 'http://localhost';

    // ...

No other modifications to your tests should be necessary.