我已经下载了 Spoon Runner 和 Spoon Client jar 文件,我已经创建了测试项目的 .apk 文件。我尝试使用以下命令运行测试。
java -jar spoon-runner-1.1.1-jar-with-dependencies.jar --apk kk-contacts-kitkat-contacts.apk --test-apk ContactsApplicationTest.apk
ContactsApplicationTest.apk
是我为我的测试项目创建的 apk
after executing below command it just installed application on connected
设备并显示以下消息。
D:\MobileTesting\ContactsApplicationTest\libs>java -jar spoon-runner-1.1.1-jar-w
ith-dependencies.jar --apk kk-contacts-kitkat-contacts.apk --test-apk ContactsAp
plicationTest.apk
2014-08-27 10:57:33 [SR.runTests] Executing instrumentation suite on 2 device(s)
.
D:\MobileTesting\ContactsApplicationTest\libs>
spoon 命令中的 --test-apk 应该是什么来运行应用程序?谁能帮我详细说明如何将勺子与Robotium集成。