tighten / ziggy

Use your Laravel routes in JavaScript.
MIT License
3.83k stars 247 forks source link

Pest #756

Closed bakerkretzmar closed 3 months ago

bakerkretzmar commented 3 months ago

This PR installs Pest and converts the whole PHP test suite to use it, reduces boilerplate and noise in the test suite, and adds test runs on PHP 8.4.

Having to downgrade Pest to v1 and reinstall PHPUnit for the Laravel 9 testing workflows is kind of a bummer but it works, and we're not using anything specific to Pest v2.

I only removed a couple tests that were redundant and testing code covered by other tests already.

Over time we may even be able to clean this up a lot more by making heavier use of data providers.