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.”
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.Filed in: News
Join 31,000+ others and never miss out on new tips, tutorials, and more.
- Laravel Senior Developer
Remote, Canada Only
BeMo Academic Consulting
- Senior Fullstack Developer / Architect (w/m/d)
Remote / Munich - Germany
- Medior full stack developer (Laravel)
Deventer (or remote) in the Netherlands, Dutch speaking required.
- Senior Full Stack PHP Developer (Laravel)
- Senior Laravel Developer
Statmetric: Web Uptime and Performance Monitoring (sponsor)
Statmetric is a brand new web uptime and performance monitoring tool. Statmetric makes it very simple to monitor your…
Ibis Book Maker
Ibis is a new app from Mohamed Said that helps you publish eBooks from markdown files and includes features for gener…