PHP code example of wackystudio / laravel-test-watcher

1. Go to this page and download the library: Download wackystudio/laravel-test-watcher 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/ */

    

wackystudio / laravel-test-watcher example snippets

 php
/**
* @test
* @watch
*/
public function it_runs_annotated_tests_in_this_test_file()
{
    //...
}
 php
/**
* @watch
*/
public function test_it_runs_annotated_tests_every_time_source_code_changes()
{
    //...
}
bash
php artisan tests:watch
bash
php artisan vendor:publish