The
Tests Generator automates the process of generating tests for your existing Laravel application. By default, the
Tests Generator creates tests using the PHPUnit testing framework. However, if Shift detects a dependency for
pestphp/pest
, it will create tests using the Pest testing framework.
While you could use
artisan make
to do this yourself, this can be a time consuming process. In addition, this command only generate a
stub. Shift performs analysis on your application code to intelligently generate model factories and HTTP tests.
composer install
from a remote server.artisan route:list
from a fresh install.The Tests Generator automates the following testing components:
While the Tests Generator attempts to generate the components above there may be cases where Shift is unable to fully run your application. In these cases, Shift will leave a comment on the PR with steps for generating the component locally.
Sign in with any of the following services to connect Shift with your Laravel project.
Don't use one of these services?
Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.