orchestra/testbench-core
Testing Framework for Laravel Development
Testbench Core is a framework designed to help you write tests and interact with 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 |
| 11.x | 9.x |
| 12.x | 10.x |
Usage
Testbench
It loads a Laravel application within your package repository and enables 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 (form, button, link, etc.) without loading JavaScript.
Testbench Dusk
It extends Testbench and allows you to interact with views using CSS selectors (form, button, link, etc). Loading the pages using Google Chrome enables you to interact with JavaScript-powered content.
Workbench
It loads a Laravel application within your package repository and enables you to preview the package directly within the repository.