Extends Laravel’s TestCase to accelerate the SQLite database creation by using a cached version.
Require this package with composer:
composer require --dev exolnet/laravel-test
In your application TestCase
, extends the package’s TestCase
instead of Laravel’s version.
use Exolnet\Test\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
//
}
This package will cache a migrated and seeded version of the testing SQLite database in order to restore it faster. This is useful if your migration process is slow.
To run the PHPUnit tests, please use:
composer test
Please see CONTRIBUTING and CODE OF CONDUCT for details.
If you discover any security related issues, please email security@exolnet.com instead of using the issue tracker.
This code is licensed under the MIT license. Please see the license file for more information.