Reputation: 39
when running command 'mvn test' and there is failed scenarios Maven still reports the build is a success. how can you make the build fail when a scenario failsmvn test results
can anyone help me?
Upvotes: 2
Views: 477
Reputation: 39
I managed to find a solution to my problem.
I used the run parallel technique instead of using the Runwith
.
Upvotes: 0
Reputation: 402
You can do this by setting the test failure flag to false:
-Dmaven.test.failure.ignore=false
Upvotes: 1