Looking to hire Laravel developers? Try LaraJobs

laravel-test maintained by exolnet

Description
The eXolnet Laravel Test package.
Last update
2021/10/19 20:23 (dev-master)
License
Downloads
1 355
Tags

Comments
comments powered by Disqus

eXolnet Laravel Test

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.