📥Installation
Laravel Unit Tests requires PHP 8.3+.
Add this composer package to your Laravel project:
Then, copy few configuration files in your application from vendor package file:
You can also use the following command:
and select the package provider
To publish only configuration files required for tests execution, you can use the tag:
To publish only the authentication tests file, you can use the tag:
To overload existing files (adding this tag is recommended for proper package operation), you can use the option:
Update the configuration file config/unit-test.php
according to your project.
Finally, run all the tests and see the result:
Last updated