When running a PHPUnit test, I would like to be able to dump output so I can debug one or two things.
I have tried the following (similar to the PHPUnit Manual examp
In laravel 5 you can use dump(), Dump the content from the last response.
class ExampleTest extends TestCase{ public function test1() { $this->post('/user', ['name' => 'Gema']); $this->dump(); } }
gives