在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Zhuinden/espresso-helper开源软件地址(OpenSource Url):https://github.com/Zhuinden/espresso-helper开源编程语言(OpenSource Language):Kotlin 100.0%开源软件介绍(OpenSource Introduction):Espresso HelperNote: This repository is not under active development, but it was updated recently nonetheless. Consider checking out https://github.com/SchibstedSpain/Barista. Do you want to write UI acceptance tests, but find Espresso demotivational with its long and verbose way of clicking a button? Espresso.onView(ViewMatchers.withId(R.id.button)).perform(ViewActions.click()) Fret not! With the help of Espresso-Helper, heavily borrowing assertions and matchers from agoda-com/Kakao, we can simplify this to the following: import com.zhuinden.espressohelper.*
import my.package.R.id.*
button.performClick() The library is Kotlin-based, for extension functions. Using Espresso-HelperIn order to use Espresso Helper, you need to add jitpack to your project root gradle:
and add the compile dependency to your module level gradle.
License
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论