title: What does the testOptions.animationsDisabled property in Android Gradle plugin do?
body: <p>I recently discovered the property <a href="https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.TestOptions.html#com.android.build.gradle.internal.dsl.TestOptions:animationsDisabled" rel="noreferrer">testOptions.animationsDisabled</a> in the Android Gradle plugin.</p>
  
  <p>I was hoping it would be helpful to disable the animations on my devices when executing UI tests with Espresso, but it's not, i.e. I still have to disable the animations manually or using <a href="https://gist.github.com/xrigau/11284124" rel="noreferrer">one</a> of <a href="https://github.com/VictorAlbertos/DeviceAnimationTestRule" rel="noreferrer">several</a> <a href="https://github.com/novoda/gradle-android-command-plugin/" rel="noreferrer">options</a> available. Otherwise some UI tests become flaky.</p>
  
  <p>Since the description of this property is rather short, does anyone know how it's meant to be used?</p>
  
  <p>My gradle file is as follows:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  android {
      testOptions {
          animationsDisabled = true
      }
  }
  </code></pre>
  
  <p>Thanks.</p>