When I have a test that uses a dataset ->with('my dataset'), but this dataset doesn't exist, and I run sail test --parallel, no FAILED message is shown in the output. However, if I just run sail test, then it'll show as FAILED, so I know something is wrong.
How to Reproduce
Install a fresh Laravel App, add Pest, add a test that uses a non-existent dataset, run ./vendor/bin/pest --parallel.
What Happened
When I have a test that uses a dataset
->with('my dataset')
, but this dataset doesn't exist, and I runsail test --parallel
, noFAILED
message is shown in the output. However, if I just runsail test
, then it'll show as FAILED, so I know something is wrong.How to Reproduce
Install a fresh Laravel App, add Pest, add a test that uses a non-existent dataset, run
./vendor/bin/pest --parallel
.Sample Repository
https://github.com/mtbossa/pest-parallel-bug-laravel
Pest Version
2.34.8
PHP Version
8.3.8
Operation System
Linux
Notes