Using Ray with your Pest tests
– myray.app - submitted by Spatie
Read more [myray.app]
Posts tagged with pest
– myray.app - submitted by Spatie
Read more [myray.app]
We’ve released a new package called spatie/pest-plugin-route-testing. This package can test all common routes in your Laravel app by writing a single test.

In this blog post, I’d like to tell you all about it.
Join thousands of developers
Every two weeks, I share practical tips, tutorials, and behind-the-scenes insights from maintaining 300+ open source packages.
No spam. Unsubscribe anytime. You can also follow me on X.
– ashallendesign.co.uk - submitted by Ash Allen
Read about how to use Pest to add architecture tests for your PHP application and enforce standards such as folder structures, naming conventions, and more.
Read more [ashallendesign.co.uk]
– myray.app - submitted by Spatie
Whether you're building a shiny new feature or refactoring a bug deep in a legacy codebase, before you merge your work to production you want to get rid of all those ray() calls you littered the codebase with.
Read more [myray.app]
– myray.app - submitted by Spatie
Discover how Pest offers a Ray integration out of the box!
Read more [myray.app]
– pestphp.com - submitted by Nuno Maduro
The PEST team just announced the release of a brand new plugin for Pest PHP: Stressless.
Read more [pestphp.com]
Learn how to automatically clear Ray's screen when running a test
Read more [myray.app]
In this blog post, I'd like to show the easiest way to skip tests conditionally in tests. Using the simple technique, which can be used for other things besides skipping tests, you can make your tests much more flexible.
The release of Pest v2 is right around the corner. Pest creator Nuno Maduro and the rest of the Pest team are currently working hard improving the docs ahead of the Pest v2 release somewhere later this month.
In this blog post, I'd like to share the free videos I've created for each of the amazing features.
Laravel 9 introduced a new way to create custom validation rules: invokable rules. It allows you to write a custom validation rule with only one method: __invoke.
A nice use case for tap
Read more [stefrouschop.nl]
– www.juststeveking.uk - submitted by Steve McDougall
I get asked about API response testing a lot, how should you do it, and where to start. I have a general rule when it comes to testing APIs, and that rule is: "test your code, and your code only". What do I mean by this? Let me explain:
Read more [www.juststeveking.uk]
A couple of months I go I had the honour giving a talk at the GPUG usergroup on how to convert a PHPUnit testsuite to Pest.
Nowadays, I use Pest as the default testrunner for every package / project that I start.
Getting started with testing is not that hard. Here's a free video taken from the Testing Laravel course that will show you how you can make sure you homepage works.
Read more [spatie.be]
- submitted by Mateus Guimarães
Mateus Guimaraes show a couple of neat tests powered by Pest.
This edition of the meetup features those two excellent talks:
– ryangjchandler.co.uk - submitted by Ryan Chandler
Let's look at how we can use Pest's Expectation API with array items.
Want to learn more about testing and/or Pest? Check out Testing Laravel
Read more [ryangjchandler.co.uk]
While recording videos for the Testing Laravel video course, I became a big fan of Pest, a test runner that tries to optimize the developer experience. I'm now using Pest as the default for testing new packages and projects.
I've also converted a couple of existing testsuites from PHPUnit to Pest. Luckily, this is a very easy process. In this video I'll show you how to get started. You'll see that it only takes a couple of minutes.
Jason McCreary explains why and how he created his cool Pest converter
Read more [jasonmccreary.me]
In this stream, Luke Downing shows us around in the source code of Pest parallel plugin he created.