前回はビューとコントローラのテストを書いてみました。今回は受け入れテストと呼ばれるEnd to End のテストを書いてみたいと思います。 motion-calabash 受け入れテストの機能は RubyMotion 標準では搭載されていません。ここでは motion-calabash という、Calabash の RubyMotion 向け gem を使用してみたいと思います。 Calabash は Ruby on Rails の開発者にはおなじみ Cucumber の iOS 及び Android 向け実装です。 インストール RubyGems になっていますので、いつも通り Gemfile を編集して bundle コマンドを打ちます。 Gemfile gem 'motion-calabash' # この一行を追加 ターミナルから以下を実行します。 $ bundle 続いて Cala