Back

breaks my heart when i see people not using the `--parallel` flag on pest; why would you want your tests to take longer?

3

654

  • No matching results...
  • Searching...

/ 1000

It is funny cause I usually code on my PC with Windows and my projects are in a HD drive I use. It takes the same time to run the test with or without "--parallel" and it takes a lot.

image

On my macbook pro the same test takes around 1.6sec (M1 chip vs AMD R5 3600).

I have to try to run the the test on my nvme drive though, I guess that is where the difference is.

1

280

Well... it is not. Copied the folder to my desktop and still takes 4s to run 15 tests with 89 assertions.

Not sure if Laravel Herd is to blame here or the OS. I don't use Laravel Herd on my Mac, though I use PHPMonitor which uses Laravel Valet in the background as well.

296

Yesterday, I tried to use —parallel - for the first time - on my tests, it is very impressive and I really enjoyed it, it runs my tests in 4s instead if 10-15s
Thank’s for this feature

1

155

If it is so great... why dont revert the logic and create --single ?

144