nothingworksinc / ticketbeast

Back to the lesson videos:
https://course.testdrivenlaravel.com/lessons
552 stars 11 forks source link

No phpunit Segmentation fault output (Windows 10) #62

Open naimkhalifa opened 7 years ago

naimkhalifa commented 7 years ago

Hi there,

This is for windows users :

Just wanted to let you know that in the lesson OFF TO THE RACES > Replicating the Failure at the Unit Level there's a Segmentation fault error that just doesn't show up in the console when you run

./vendor/bin/phpunit --filter running_a_hook_before_the_first_charge

The console output is this : PHPUnit 5.7.2 by Sebastian Bergmann and contributors.

Without anything more.

However, the Segmentation fault shows up when running the tests from Homestead VM.

It's way slower to run tests on Homestead than on a native environment. But I thinked it was worth mentioning that if, for some reason a test behaviour is weird on Windows, there is the VM option to see if it's a Windows related problem.

If anyone knows a way to solve it directly on Windows level I'd be glad to hear about it.

GiamPy5 commented 7 years ago

Have you tried using --debug option in your phpunit command?