Laravel Testing - PHPstorm Configuration
Settings > PHP > Test Frameworks > Add (+) > PHPUnit by Remote Interpreter DO NOT select the pre-populated sail image. click on ... And again + and select "From Docker, vagrant etc" Then select Docker Compose VERY IMPORTANT! If you select Docker, it doesn't work. Then, in Test Frameworks, specify path to script: /var/www/html/vendor/autoload.php PHP Remote Interpreter: