exolnet/laravel-test

This package is abandoned and no longer maintained. No replacement package was suggested.

The eXolnet Laravel Test package.

v1.7.2 2021-10-19 18:23 UTC

This package is auto-updated.

Last update: 2021-11-26 16:31:25 UTC


README

Latest Stable Version Software License Build Status Total Downloads

Extends Laravel’s TestCase to accelerate the SQLite database creation by using a cached version.

Installation

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
{
    //
}

Usage

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.

Testing

To run the PHPUnit tests, please use:

composer test

Contributing

Please see CONTRIBUTING and CODE OF CONDUCT for details.

Security

If you discover any security related issues, please email security@exolnet.com instead of using the issue tracker.

Credits

License

This code is licensed under the MIT license. Please see the license file for more information.