Pest is a PHP testing framework that brings beautifully simple syntax to your tests, without sacrificing on features. In this course, we'll get up and running with Pest in a Laravel project and write tests for a real-world application that we'll build along the way.
You'll learn how to set Pest up in a Laravel project, write tests with Pest's built-in assertions, generate code coverage, and more.
Let's cover scoping models by their popularity (e.g. most popular articles last week). From scratch, we'll build out the ability to 'visit' models within a timeframe and unique restrictions, and then fetch the most popular within any given timeframe. We'll cover everything with a suite of tests using the Pest testing framework.