Saturday, time to upgrade a side project to use Pest v3!
I will also have a look at pinkary's source code in github to improve my tests!
Thanks @nunomaduro !!
Abel Cobreros
@acobrerosf
Software Developer (Freelance). +10 years of experience. The world is full of bugs and I'm here to fix them. info@abelcobreros.com
• • 20 Posts • 78 Views
I just set this up on my VS Code to run Laravel Pint automatically when I save a file. Sharing in case is useful for someone else:
abelcobreros.com/en/laravel-en/how-to-run-laravel-pint-automatically-on-save-in-vs-code
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.
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.
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.
I have an old mac mini from 2012 still up and running (with Windows, lol) 24/7 as a multimedia server. I use Jellyfin which is free and open-source and I can connect from any device and from anywhere in the world thanks to Tailscale.
I wrote a quick tutorial explaining how:
abelcobreros.com/en/technology/create-your-own-streaming-platform-with-jellyfin-and-tailscale
Anonymously
what is your name ?