-
Notifications
You must be signed in to change notification settings - Fork 27
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
Added processing of PHPUnit warnings as failures #48
Conversation
…s exit code 1 on warnings
@baev Could you please review the PR? |
Looks fine, but wouldn't it be better to have this as optional behavior? |
Why? PHPUnit unconditionally returns exit code 1 on warnings. That means any CICD system using it will fail. With current behavior it'll fail without any records in an Allure report. Could you please give some use cases? |
@eduard-sukharev any updates on this? |
@baev, could you take a look at this PR? I think we should accept it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, Allure doesn't have "warning" test status anyway, and it's much better to process "warning" as "failure" than to ignore it.
looks good, @slavvka could you please rebase and I'll merge |
@baev will do |
Added processing of PHPUnit warnings as failures since PHPUnit returns exit code 1 on warnings
Look at #47