Converting a PHPUnit Testsuite To Pest
You probably have projects that use PHPUnit as the test runner. Luckily, getting started with Pest in those projects is easy. Here's how!
Interesting links
A couple of other videos on this course touch upon specific Pest features:
- Using datasets
- Using shared datasets
- Writing custom expectations
- Higher order tests
- Higher order expectations
- Code coverage
- Using the watch plugin
Pest has some other features not mentioned in this course. Check them all out in the Pest docs.
Instead of doing the conversion manually, you could opt to let Laravel Shift convert a PHPUnit testsuite to Pest automatically.
In this stream on YouTube, you can see my rehearsal in preparation of this video.