Testing Helper for Laravel Development
Testbench Component is a simple package that has been designed to help you write tests for your Laravel package.
Version Compatibility
Laravel | Testbench Core |
---|---|
6.x | 4.x |
7.x | 5.x |
8.x | 6.x |
9.x | 7.x |
10.x | 8.x |
Usage
Testbench Core is being built to enable Laravel Framework to build and run integration tests for the framework itself. For package developers please use any of the following testbench projects:
Testbench
It loads Laravel apps and enable you to run artisan commands, migrations, factories and basic routing from within your tests.
Testbench BrowserKit
It extends Testbench and allows you to interact with views using CSS selectors (interacting with form, button, link etc) but without JavaScript being loaded.
Testbench Dusk
It extends Testbench and allows you to interact with views using CSS selectors (interacting with form, button, link etc). By loading the pages using Google Chrome it enable you to interacts with JavaScript powered content.