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

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Laravel Auditor Audits Your App With Your Own AI Agent image

Laravel Auditor Audits Your App With Your Own AI Agent

Read article
A simple form builder that stays out of your way image

A simple form builder that stays out of your way

Read article
Laravel AI: Trace Agent Runs With Lifecycle Events image

Laravel AI: Trace Agent Runs With Lifecycle Events

Read article
Laravel AI: Get Raw HTTP Responses and Rate Limits image

Laravel AI: Get Raw HTTP Responses and Rate Limits

Read article
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article