Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
9.06k
stars
313
forks
source link
[Bug]: --fail-on-risky does not seem to work #1155
Open
michaelw85 opened 1 month ago
What Happened
I run my tests with flags
--disallow-test-output --fail-on-risky
. When a test outputs it becomes risky, I would expect exit code not to be 0.How to Reproduce
Create a test and add
echo 'something'
; Run tests using--disallow-test-output --fail-on-risky
Result: exit code0
Expected exit code1
Sample Repository
No response
Pest Version
2.34.7
PHP Version
8.3.7
Operation System
macOS
Notes
No response