We’re wondering how to deal with expected failures in steps.
Consider this scenario:
We have a set of tests where some are omitted from the execution because they are in progress, or pending.
This leads to a failure that looks like this:
Tests on API-21(AVD) - 5.0.2 failed: Test run failed to complete. Expected 167 tests, received 164
:app:connectedAetvGoogleMobileDebugAndroidTest FAILED
FAILURE: Build failed with an exception.
The thing is, we expect that failure, and it’s ok, but we don’t want it to fail our whole build.
Is there a way to control this?