Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: --fail-on-risky does not seem to work #1155

Open
michaelw85 opened this issue May 17, 2024 · 0 comments
Open

[Bug]: --fail-on-risky does not seem to work #1155

michaelw85 opened this issue May 17, 2024 · 0 comments
Labels

Comments

@michaelw85
Copy link

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 code 0
Expected exit code 1

Sample Repository

No response

Pest Version

2.34.7

PHP Version

8.3.7

Operation System

macOS

Notes

No response

@michaelw85 michaelw85 added the bug label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant