The Better PHPUnit test runner for VS Code now supports running PestPHP tests thanks to Joe Dixon and Caleb Porzio:
The Better PHPUnit extension automatically detects if pestphp/pest
is a Composer dependency, and runs pest
instead of phpunit
, meaning you can use the same extension seamlessly for PHPUnit or PestPHP projects 🔥.
You can learn more about this extension and install it from the Visual Studio Marketplace page. Also, you can find the source code for this plugin on GitHub.
Note: if you already have this extension installed, Pest support should be available once the extension is updated (which happened automatically for me).
The post Run Pest Tests in VS Code with Better PHPUnit appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.