Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 855 Bytes

installation.md

File metadata and controls

39 lines (26 loc) · 855 Bytes
title description
Installation
Installation

Installation

Requirements: PHP 7.3+.

  1. First, install Pest via the Composer package manager:
composer require pestphp/pest --dev --with-all-dependencies
  1. On Laravel, require the pest-plugin-laravel and run the pest:install Artisan command:
composer require pestphp/pest-plugin-laravel --dev
php artisan pest:install
  1. On other projects, create a tests folder and run the pest --init command:
./vendor/bin/pest --init
  1. Finally, you can run Pest directly from the command line:
./vendor/bin/pest

Install


In the next section, we are going to learn how to write tests with Pest: Writing Tests →