I would like to see the results of individual unit tests in the browser. I would like to do something like...
public function test() {
$test = new \Tests\Unit\ExampleTest();
dd($test->testBasicTest());
}
That just returns null. I also tried exec('vendor/bin/phpunit');
but would like to stay away from exec() (and to mention, that snippet creates an endless loop for some reason).
via Richard Kersey