Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jetbrains/pest-intellij

The official Pest Plugin for PhpStorm / IntelliJ IDEA
https://github.com/jetbrains/pest-intellij

intellij intellij-plugin kotlin pest php phpstorm phpstorm-plugin

Last synced: about 1 month ago
JSON representation

The official Pest Plugin for PhpStorm / IntelliJ IDEA

Awesome Lists containing this project

README

        




GitHub Workflow Status (master)
Total Downloads
Latest Version
Latest EAP Version
official JetBrains project

# Pest IntelliJ

This plugin adds support for using Pest PHP inside PHPStorm

## Installation

- Using IDE built-in plugin system:

Preferences > Plugins > Marketplace > Search for "Pest" >
Install Plugin

- Manually:

Download the [latest release](https://github.com/pestphp/pest-intellij/releases/latest) and install it manually using
Preferences > Plugins > ⚙️ > Install plugin from disk...

- Using Early Access Program (EAP) builds:

Preferences > Plugins > ⚙️ > Manage plugin repositories

Add a new entry for [`https://plugins.jetbrains.com/plugins/eap/14636`](https://plugins.jetbrains.com/plugins/eap/14636)

Then search for the plugin and install it as usual.

## Configuration

To configure pest to run properly, you need to setup the the proper local test framework

- Navigate to

Preferences > Languages & Frameworks > PHP > Test Frameworks

And add the following two configuration fields:

Set "Path to Pest Executable" to
/path/to/your/project/vendor/bin/pest

Set the "Test Runner" to
/path/to/your/project/phpunit.xml

## Resources
For a great video course on how to write tests with Pest, check out [Testing Laravel](https://testing-laravel.com/) or [Pest From Scratch](https://laracasts.com/series/pest-from-scratch).

## Issue?
Please report it to [YouTrack](https://youtrack.jetbrains.com/newIssue?project=WI)

## Credits
Originally developed by [Oliver Nybroe](https://github.com/olivernybroe)

---
Plugin based on the [IntelliJ Platform Plugin Template](https://github.com/JetBrains/intellij-platform-plugin-template).