Get your next remote job on LaraJobs.
Instantly migrate PHPUnit tests to Pest

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.

Gold sponsors New

  • Wire Elements
    Beautiful handcrafted Livewire components.
    Check site
Your business here

Partners

If you buy from one of my partners below, I will be compensated at no cost to you. These are services I use or used, and 100% stand behind.

  • Scalable and reliable VPS hosting.
    Bonus: $200 of free credits
    Check site
  • The Google Analytics alternative without compromise.
    Free trial: 30 days
    Bonus: $10 off your first invoice
    Check site
  • Flare
    Track PHP and JavaScript errors in one place.
    Free trial: 10 days
    Check site
  • Keep track of your Google rankings.
    Free trial: 7 days
    Promo code: WELCOME30
    Check site
- / -