blasher/laratest is a Laravel package for generic test suite for laravel.
It currently has 0 GitHub stars and 36 downloads on Packagist (latest version 0.2.4).
Install it with composer require blasher/laratest.
Discover more Laravel packages by blasher
or browse all Laravel packages to compare alternatives.
Last updated
Generic Test Suite For Laravel
This is meant to be a generic test suite for laravel. It is meant to give a little reassurance that all api routes are protected by some authentication method. This library should be used in addition to more specific testing, not in lieu of it
composer requre blasher/laratest
If you haven't already built your authorization scaffolding, make sure do to
php artisan make:auth
or tests will fail due to 500 errors when redirecting to "/login" route
Then publush the appropriate tests via the commands below:
php artisan vendor:publish --tag=laratest_token
or
php artisan vendor:publish --tag=laratest_passport
blasher/laratest is open-sourced software licensed under the MIT license.