laravel / sail

Docker files for running a basic Laravel application.
https://laravel.com/docs/sail
MIT License
1.65k stars 470 forks source link

Pest not included in Laravel 11 with sail #716

Closed rogerio-pereira closed 4 weeks ago

rogerio-pereira commented 4 weeks ago

Sail Version

latest

Laravel Version

11.x

PHP Version

8.2+

Operating System

Linux

OS Version

Mint 21.2 Cinnamon

Description

Pest is not included in laravel installation using sail

Steps To Reproduce

Run command

curl -s https://laravel.build/example-app | bash
cd example-app
sail up -d

Inspect folder vendor/bin/ pest binary is not there

pb30 commented 4 weeks ago

This doesn't apply to Sail. laravel.build does not include Pest, but you are free to add it.

rogerio-pereira commented 4 weeks ago

OK, i just saw on docs that Laravel 11 includes pest and phpunit https://laravel.com/docs/11.x/testing#introduction so i thought the sail version should also include it

pb30 commented 4 weeks ago

Laravel supports both, but most install methods only include PHPUnit by default

rogerio-pereira commented 4 weeks ago

Can i create a PR, to include Pest in laravel sail install? which repo should i use?

Jubeki commented 4 weeks ago

If you want to have pest installed using the following command

curl -s https://laravel.build/example-app | bash

You would need to create a PR in https://github.com/laravel/sail-server

rogerio-pereira commented 4 weeks ago

awesome you rock!