How to trigger unit testing from Laravel Artisan
I have a situation where i have some unit tests with PHPUnit, and i want to trigger them from the artisan console utility of laravel. I have googled and i have not found any reference, Is it possible? I am not asking how to test artisan commands. or how to dynamically call another artisan command, but to trigger unit tests from artisan
I can call certain commands using Artisan facade like
Artisan::call('migrate'); //which calls migration
like this is there a way i can call unit tests? I am using PHPUnit
from Laravel Questions and Answers https://laravelquestions.com/php/how-to-trigger-unit-testing-from-laravel-artisan/
via Lzo Media
No comments:
Post a Comment