Downloads
Stars
Version
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.