
Instantly migrate PHPUnit tests to Pest
A tool created by Benjamin Crozat and based on pestphp/pest-plugin-drift
What is Pest?
Pest is a revolutionary testing framework with a focus on simplicity. It's been meticulously designed to bring back the joy of testing in PHP and go even further than what you can do with PHPUnit.
Why switch to Pest?
Switching to Pest brings several benefits to your codebase:
- Pest is officially supported by Laravel.
- Your tests become more concise and readable.
- The barrier to entry is lower, thanks to reduced boilerplate and a less intimidating syntax.
- In addition to traditionnal testing, Pest can also help you enforce coding standards thanks to its architecture testing helpers. This will faciliate the collaboration with your team.
Is this tool enough to migrate my test suite?
The pestphp/pest-plugin-drift used under the hood performs a basic conversion, which will help you get started.
But if you are looking for a miracle solution, I created an even more advanced tool called Smousss, which is based on artificial intelligence and can migrate your test suite way better than any developer.