News

Pest 3 is released!

Published

We are excited to share that Pest 3 is now available! Get started with mutation testing today and level up your existing projects by finding untested code. Create consistent code with popular architecture presets, team management, a new configuration API, and more:

Team Management

A new feature that allows you to manage tasks and todos with your team directly from the console.

New Features in Pest 3

  • Mutation Testing: An innovative new technique that introduces small changes to your code to see if your tests catch them.
  • Arch Presets: A set of predefined rules that you can use to test your application's architecture.
  • New Configuration API: A new configuration API that is more intuitive and easier to use.
  • More Architectural Testing Improvements: New expectations, @pest-arch-ignore-line, and more.
  • And Much More...: Constants in Type Coverage, static analysis improvements, and more.

Check out the official announcement post for in-depth coverage of these exciting new features.

You can install Pest 3 right now an a new Laravel project using the installer and the --pest flag (or select it at the prompt):

laravel new my-project --pest

You can also install v3 on a new project by requiring it via composer:

composer require pestphp/pest --dev --with-all-dependencies
./vendor/bin/pest --init

The Upgrade Guide will help you get existing Pest v1/v2 applications using the latest Pest 3 features in no time.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article