Level 53
@mcbates check this package: https://github.com/atehnix/laravel-stubs
1 like
Is there an easy way to swap the comments in test stubs that artisan creates (php artisan make:test ExampleTest)?
So, whenever I create a test, instead of
/**
* A basic feature test example.
*
* @return void
I would like (per default)
/** @test */
I change it dozens of times per day and would love to automate it.
(Sidenote: In 80% of TDD tutorials and videos I see - Adam Wathan etc. - they use @test, so I wonder why this is not the default…)
@mcbates check this package: https://github.com/atehnix/laravel-stubs
Please or to participate in this conversation.