Run Pest Tests Directly from your IDE
PhpStorm 2023.3 helps you write Pest assertions and improves auto-completion in test functions.
PhpStorm by JetBrains is a sophisticated Integrated Development Environment (IDE) specifically designed for PHP and web development. It offers a range of features to enhance your coding experience, including syntax highlighting, intelligent code completion, on-the-fly error detection, built-in debugging tools, and advanced code refactoring capabilities. Additionally, it supports various web technologies like HTML, CSS, and JavaScript, making it a versatile tool for building complete web applications.
The PhpStorm 2023.3 release now supports the Pest test framework out of the box. Pest is a testing tool for PHP with a focus on simplicity. It uses familiar concepts from PHPUnit but wraps them in a more readable interface. If offers clear error messages, colorful outputs, and features like coverage reports and parallel testing. Using PhpStorm 2023.3 you can now run Pest tests from inside the IDE. When you position your caret within a test and then run it, the IDE will automatically generate a configuration tailored to that particular test.