I am using robolectric-gradle-plugin for robolectric tests. I do not want to refuse to build failed tests. Is there a way in DSL or a property to not skip the build test similar -DtestFailureIgnore=trueto the Surefire Maven plugin?
I tried:
robolectric {
ignoreFailures = true
}
and
robolectric {
ignoreFailure = true
}
and -DignoreFailure=trueon the command line.
I can not find documentation on how to do this, or any link to ignore tests in the source code.
source
share