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:

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.
  • Team Management: A new feature that allows you to manage tasks and todos with your team directly from the console.
  • 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.


The post Pest 3 is released! appeared first on Laravel News.

Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.

Read more

© 2024 Extly, CB - All rights reserved.