Download the PHP package conquest/inertia-testbench without Composer
On this page you can find all versions of the php package conquest/inertia-testbench. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download conquest/inertia-testbench
More information about conquest/inertia-testbench
Files in conquest/inertia-testbench
Package inertia-testbench
Short Description An Inertia skeleton for Testbench.
License MIT
Homepage https://github.com/conquestphp/inertia-testbench
Informations about the package inertia-testbench
Inertia Testbench
This package provides a skeleton for testing Inertia.js (with Vue) applications with Orchestra Testbench. It is designed to be installed inside a conquest/skeleton-laravel
templated package, and allows for full-stack testing.
Using Skeleton with Testbench
These instructions are designed with the conquest/skeleton-laravel
template, but can be applied to other Laravel projects. Install the skeleton package:
Autoload the package to resolve the namespace properly inside your composer.json
file:
Add the following scripts to your composer.json
file:
Execute the command to install the node modules:
Ensure you have an APP_KEY
set in your test case environment. This can be added inside the testbench.yaml
file:
The server can then be run with both server and client:
With Dusk
It is suggested that for full-stack testing, Dusk should be used in conjunction with this package. Testbench comes equipped with a Dusk driver that will allow you to test your application in a real browser.
All versions of inertia-testbench with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0