Randy_Johnson's avatar

Reverting from PEST to PHPUnit

When starting the laravel app creation, I went for PEST, but now I realise I don't actually like it and prefer the look of PHPUnit. I've noticed that pest comes with a lot of preloaded scripts to test for specific functionality, my guess in that the same kind of script come with PHPUnit. Is there a script I can run to remove Pest and go with Unit?

1 like
5 replies
vincent15000's avatar

I don't know any script to do that.

What does disturb you in Pest ?

Glukinho's avatar

A clumsy and awkward approach of recreating conventional OOP logic in functional style?

1 like
ian_h's avatar

They were on some kind of drive to turn Laravel PHP stuff into JS it felt like at one point, especially with Pest and Volt.. both of which, IMO, are a royal PITA and a mess to work with.

1 like
martinbean's avatar

@randy_johnson Pest is based on PHPUnit. Just take a look at the tests directory in the laravel/laravel repository for the skeleton files you need to go back to using PHPUnit.

1 like

Please or to participate in this conversation.