1. Go to this page and download the library: Download modulero/cruddy-tests 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/ */
modulero / cruddy-tests example snippets
return [
/*
|--------------------------------------------------------------------------
| Default Resource Abilities
|--------------------------------------------------------------------------
|
| This array of abilities will be used to determine which cruddy tests need
| to be created. Feel free to change this into something you want.
|
*/
'abilities' => [
'viewAny',
'view',
'create',
'update',
'delete',
],
];