News

Run Pest Tests in VS Code with Better PHPUnit

Published Updated
Run Pest Tests in VS Code with Better PHPUnit image

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.

Be sure and check out the Make VS Code awesome book and course by Caleb Porzio too.

Note: if you already have this extension installed, Pest support should be available once the extension is updated (which happened automatically for me).

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article