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

closes #534: Do not fail the Maven build for a failed test #564

Closed
wants to merge 2 commits into from
Closed

closes #534: Do not fail the Maven build for a failed test #564

wants to merge 2 commits into from

Conversation

kaqqao
Copy link

@kaqqao kaqqao commented Feb 10, 2017

Added general support for testFailureIgnore (maven.test.failure.ignore) flag as in Surefire plugin (this closes #534). Currently only Karma mojo respects this flag, making it impossible to apply it to Protractor or any other tests.
In case this flag is set to true, a failure during test or integration-test phase will not fail the entire build, but just log the error.

Property name (to add to the <configuration> block): testFailureIgnore
User property (to add as command line argument, or the <properties> block): maven.test.failure.ignore

The change is minimal, and the flag itself, the behavior, and the implementation are all consistent with Surefire plugin:

EDIT
Seems like a similar pull request already exists: #553

 Added support for testFailureIgnore flag as in Surefire plugin
@kaqqao kaqqao changed the title #534: Do not fail the Maven build for a failed test closes #534: Do not fail the Maven build for a failed test Feb 10, 2017
 Added support for testFailureIgnore flag as in Surefire plugin
@qacwnfq
Copy link

qacwnfq commented Feb 22, 2017

Please merge and release this asap, it's just what I need! Thanks! 👍

@mriehema
Copy link
Contributor

mriehema commented Mar 1, 2017

Looks like this PR, PR #572 and PR #553 fix the same issue.
My favorite is #572 because it includes documentation and release notes.
@kaqqao Could you check, if PR #572 works for you? If yes, could you close your PR?

@kaqqao
Copy link
Author

kaqqao commented Mar 1, 2017

Yes, I'd be quite happy to get any of the PRs merged. Not particularly attached to mine. #572 seems good.

@kaqqao kaqqao closed this Mar 1, 2017
@kaqqao kaqqao deleted the support_testFailureIgnore branch March 1, 2017 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Do not fail the Maven build for a failed test
3 participants