Testbench Core is a framework designed to help you write tests and interact with your Laravel package.
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 |
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.
It extends Testbench and allows you to interact with views using CSS selectors (form, button, link, etc.) without loading JavaScript.
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.
It loads a Laravel application within your package repository and enables you to preview the package directly within the repository.