PHP
Declaring Expectations Against Array Items in Pest
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
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
[AdSense-A]
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.
Instead of doing the conversion manually, you could opt to let Laravel Shift convert a PHPUnit testsuite to Pest automatically.
In our course, that are a couple of videos that touch upon specific Pest features:
In this stream on YouTube, you can see my rehearsal in preparation of this video.
(more…)Learn how to get the raw SQL string from a query builder in Laravel the easy way. Get to know this information to inspect the query used to retrieve the data. You could also use Read more…
Introduce lazy loading to an existing application without interrupting flow or overwhelming your logs Read more
Cloning is a nice way of creating a quick copy of an object. But there are some things you need to be aware of! Read more
Let’s take a look at how we can create a custom Option type to handle optional values in PHP. Read more
Multiselect dropdown is incredibly helpful to permit the user to pick out multiple choices in a select box. There are two ways to select multiple choices in a dropdown. The first one is a hold Read more…
In this stream, Shruti Balasa show how powerful Tailwind is. She builds a simple dashboard layout in only a couple of minutes. If you want to learn more about Tailwind, consider buying a ticket for Read more…
Using this package, you can quickly scan source code for calls to Ray Read more
When did you last changed your opinion on something technical? Read more