I need to do a check before launching the php artisan test
command.
I need this because I currently have 2 databases for DEV, one local and one shared with my collaborators. I want to prevent the tests from running on the shared database.
I already saw that I could create a custom command with Laravel but I would like to know if there was a better solution ...
Thanks in advance for your feedback