とりあえず、android-test-kit : Espresso の動画を見ましょう。 以下では Eclipse での設定方法を紹介します。 Android Studio での設定方法は Espresso のプロジェクトページ(上記のリンク)にあるので読んでください。 1. Developer options の設定 アニメーションを Off にしましょう。 設定(Settings) → 開発者向けオプション(Developer options)→ 以下の3つを全て「アニメーションオフ(Animation off)」にする ウィンドウアニメスケール (Window animation scale) トランジションアニメスケール(Transition animation scale) Animator再生時間スケール(Animator duration scale) コードからやる方法 2
![Android UI Testing framework の Espresso を使う](https://cdn-ak-scissors.b.st-hatena.com/image/square/840ad978ce685a7d34cb60630a55a2417e4111c6/height=288;version=1;width=512/http%3A%2F%2F3.bp.blogspot.com%2F-h6h8fy-8Bek%2FUo249sJqlNI%2FAAAAAAAAO7Q%2FVtzXpCqgU3Y%2Fw1200-h630-p-k-no-nu%2Fdevice-2013-11-21-144815.png)