Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

luarsab's avatar

Laravel PHP unit tests error. code drive not available

Hello, im using PHP STORM, and want to create code coverate by command

  •   XDEBUG_MODE=coverage php artisan test --coverage
    

i text this in phpstorm inside terminal. so i get an error ERROR Code coverage driver not available. how to fix this? im using ubuntu by the way

0 likes
1 reply

Please or to participate in this conversation.