Using cucumber-jvm and Gradle, I can’t get my build to fail when a cucumber test fails.
When running with “gradle clean test --info”, my tests are run and the build succeeds, despite obvious errors. I’m sure I’m missing something simple, but I cannot find it.
Expected: is <4>
but: was <2>
at ?.Then she has 4 dots in Craft(net\sf\anathema\SiderealFavoredAbility.feature:7)
Gradle Worker 1 finished executing tests. Process ‘Gradle Worker 1’ finished with exit value 0 (state: SUCCEEDED)
BUILD SUCCESSFUL ‘’’