google android UI测试工具 espresso相关
1 一些具体APi使用的例子
https://code.google.com/p/android-test-kit/wiki/EspressoSamples
onView(withId(R.id.action_save)) .perform(click());
2 从espresso 2开始,已经集成到sdk里面了。使用studio 时的配置
You can now use the Android Support Repository, available through the SDK Manager to download the latest version.
https://code.google.com/p/android-test-kit/wiki/EspressoSetupInstructions
注意: testInstrumentationRunner 已经更新为 "android.support.test.runner.AndroidJUnitRunner"
3 https://code.google.com/p/android-test-kit/具体jar包的下载。
使用过原来别人blog写的用espresso1写的项目,但是一直编译不了。只能官方下了demo,然后通过eclipse编译了一个。
本文介绍了Google Android UI测试工具Espresso的使用方法,包括API示例、集成到SDK的步骤及配置方法,并提供了官方下载资源。
3330

被折叠的 条评论
为什么被折叠?



