1. Go to this page and download the library: Download mozex/laravel-test-lanes library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mozex / laravel-test-lanes example snippets
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Mozex\TestLanes\TestLanes;
abstract class TestCase extends BaseTestCase
{
public function createApplication()
{
$app = parent::createApplication();
TestLanes::register();
return $app;
}
}