Articles pest
TAG ARCHIVE

Everything on pest.

10 articles tagged pest, sorted newest first.

livewire

Test Livewire 4 Components with Pest

Livewire 4 ships first-class Pest test helpers. Mount a component, set properties, call actions, and assert state, output, validation, and events without a browser.

6 min read
pest

Measure and Enforce Type Coverage with Pest's Type Coverage Plugin

'We use types' is not a measurable claim. Pest's type coverage plugin turns it into a percentage you can read per file and enforce in CI.

5 min read
pest

Measure Test Quality, Not Just Coverage: Pest Mutation Testing

100% line coverage can still ship bugs. Here's how Pest's mutation testing finds the assertions your test suite is quietly missing.

7 min read
laravel

Test AI Features Without Calling the API: Agent::fake() in the Laravel AI SDK

You shipped an agent and wrote zero tests for it, because hitting a real model is slow, costs tokens, and needs a key in CI. The Laravel AI SDK's fake() fixes all three.

8 min read
pest

GitHub Actions + Pest Sharding — Cut Laravel CI from 12 Minutes to 3

Split your Pest suite across four GitHub Actions matrix jobs, balance them by real execution time, and gate merges on a single status check.

8 min read
pest

PestStan — Type-Safe Pest 4 Tests With PHPStan Generics in a Laravel App

PestStan teaches PHPStan about Pest's globals — generic expect() types, proper $this binding, and rules that catch broken assertions before the test even runs.

9 min read
pest

Pest 4 Snapshot Testing for Laravel API Responses: Catch Accidental Schema Drift

Pest 4 has snapshot testing built in. One expectation locks down the shape of your JSON responses so renamed keys and disappearing fields stop slipping into production unnoticed.

8 min read
pest

Pest 4 Browser Testing with Playwright: A Dusk Replacement That Actually Sticks

Pest 4 ships a first-party browser plugin powered by Playwright. Auto-waits, parallel runs, and time-balanced shards turn a 12-minute Dusk suite into a 90-second CI job.

9 min read
pest

Enforcing Laravel architecture rules with Pest's arch() helper

Pest's arch() helper lets you write rules that enforce your app's structure at test time: no more accidentally importing Eloquent into a controller.

5 min read
laravel

The Complete Laravel Developer Toolchain for 2026

Stop spending days configuring tools. Here is every tool in my Laravel stack for 2026, why I chose each one, and exactly how to set it up.

18 min read