Pest is a Testing Framework created by Nuno Maduro with a focus on simplicity. It was carefully crafted to bring the joy of testing to PHP.

Pest is not specific to Laravel and it could be used with any PHP project. The project contains several Laravel examples just because the author has a close relationship with the Laravel community.

Pest gives you the most beautiful test reporting in the world, straight from the console! Also, the readable errors and stack traces make debugging lightning fast.

Tests with Pest are easy to read and understand. Also, it’s powered by PHPUnit — just run your current PHPUnit test suite with Pest and it will just work. You won’t have to change a thing.

PHPStorm Plugin for Pest

If you are using PHPStorm there is even a plugin for Pest integration. In the latest release of the plugin 0.4.0 added navigation between test and subject, in addition to inspection for duplicate test names, auto completion for fields declared in beforeEac, auto completion for static PhpUnit methods, PCOV coverage engine support, in addition to bugfixes.

Pest is released under an MIT license. More information at https://pestphp.com

LEAVE A REPLY

Please enter your comment!
Please enter your name here