[問題] Android test espresso

看板AndroidDev作者 (Rebellionyu)時間10年前 (2015/07/06 15:00), 10年前編輯推噓1(101)
留言2則, 1人參與, 最新討論串1/1
Hi, 我最近在研究Android testing的espresso, 我照著下列網址試 https://code.google.com/p/android-test-kit/wiki/EspressoSetupInstructions 但總是在最後一步 Create a test configuration會有問題... 我在add a specific instrumentation runner時 打到: android.support.這邊, 後面跳出來的選項根本沒有test.. 照理說要打: android.support.test.runner.AndroidJUnitRunner 但有時候又可以work... 請問有人有android testing的相關經驗嗎? 謝謝! 底下是我的app build.gradle file http://ideone.com/J1CNV5 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 122.146.84.72 ※ 文章網址: https://www.ptt.cc/bbs/AndroidDev/M.1436166045.A.BC8.html ※ 編輯: rebellionyu (122.146.84.72), 07/06/2015 15:03:48

07/06 21:19, , 1F
直接在測試的檔案或是package按右鍵->Run->有小綠人icon的
07/06 21:19, 1F

07/06 21:19, , 2F
選項
07/06 21:19, 2F
文章代碼(AID): #1LcYUTl8 (AndroidDev)