PHP code example of boltci / shards
1. Go to this page and download the library: Download boltci/shards 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/ */
boltci / shards example snippets
bash
php artisan shards:patch-phpunit
bash
php artisan shards:patch-paratest
bash
SHARD=1/5 php artisan test
bash
SHARD=1/5 SEED=1 php artisan test
bash
SHARD=1/5 SEED=1 php artisan test --parallel --functional