News

PestPHP Plugin for PhpStorm

Published
PestPHP Plugin for PhpStorm image

PestPHP has a plugin that adds support for using Pest inside of PhpStorm (written by Oliver Nybroe). This plugin adds conveniences to working with Pest, such as running a Pest test from the PhpStorm UI (like PHPUnit) and supports auto-completion.

Having assertions available through auto-completion can help you see what assertions are available without leaving your code. You can also assign a value to a property before each test, and this plugin includes those properties as part of auto-completion.

In my opinion, one of the killer features in this plugin is seeing code coverage directly within the PhpStorm UI.

If you’d like to learn more about what this plugin offers, check out Oliver’s post, How the Pest PhpStorm Plugin Will Improve Your Testing Workflow over on the PhpStorm blog.

This plugin is available in the JetBrains marketplace: Pest – Plugins | JetBrains. You can also install Pest for PhpStorm in your editor by going to Preferences > Plugins > Marketplace and search for “Pest.”

Learn More

If you want to learn more about PestPHP, Michael Dyrynda published a series of videos Introducing PestPHP. If you’re interested in how this plugin works, check out the source code for pestphp/pest-intellij on GitHub.

Paul Redmond photo

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

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

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