pestphp / pest

Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
https://pestphp.com
MIT License
9.07k stars 315 forks source link

[Bug]: Missing `--repeat` CLI option #1107

Open calebdw opened 4 months ago

calebdw commented 4 months ago

What Happened

It appears that the --repeat cli option was removed from Pest v2. The only way to repeat a test is to use ->repeat() chained on to the end of a pest test.

However, I have a volatile legacy phpunit test that I'm trying to track down / debug but there's no way for me to specify a repeat for it---manually running the test again and again is annoying and time consuming.

How to Reproduce

Try to repeat a PHPUnit test

Sample Repository

No response

Pest Version

2.34.0

PHP Version

8.2.x

Operation System

Linux

Notes

No response