微信扫一扫联系客服

微信扫描二维码

进入报告厅H5

关注报告厅公众号

199

电子书-安卓 Espresso 揭秘:编写自动化的UI测试(英)

# 计算机 # 硬件 # 自动化测试 大小:8.26M | 页数:314 | 上架时间:2022-03-08 | 语言:英文

电子书-安卓 Espresso 揭秘:编写自动化的UI测试(英).pdf

电子书-安卓 Espresso 揭秘:编写自动化的UI测试(英).pdf

试看10页

类型: 电子书

上传者: 二一

出版日期: 2022-03-08

摘要:

Write Android user interface (UI) tests using Google Espresso for Android. You’ll cover all the major topics of writing functional UI automated tests using the Espresso testing framework, including different ways of running automated tests, architecting test projects in an easy and maintainable way, and using tools which help to implement automated tests with less effort.
Android Espresso Revealed explains the basics of using Espresso to write automated UI tests, and how to customize the framework for advanced functionality. The author provides examples in both Java and Kotlin, and includes dealing with network operations in UI tests, testing application accessibility, implementing supervised monkey tests, and more.

What You Will Learn
• Write Espresso tests with both Kotlin and Java including test project migration from Java to Kotlin
• Test web views inside the application under test
• Use Espresso to set up test devices or emulators to minimize test flakiness and run tests in Firebase Test Lab
• Verify and stub intents with Espresso-Intents
• Move test projects to AndroidX
• Test notifications or operate on third-party apps during Espresso test execution
• Apply different test architecture approaches to the test project to reduce maintenance effort
• Implement supervised monkey tests using Espresso and UIAutomator

Who This Book Is For

Engineers with experience of Android test automation will benefit from this book

使用Google Espresso for Android编写Android用户界面(UI)测试。你将涵盖使用Espresso测试框架编写功能性UI自动化测试的所有主要主题,包括运行自动化测试的不同方式,以简单和可维护的方式构建测试项目,以及使用有助于以较少的努力实现自动化测试的工具。

Android Espresso Revealed解释了使用Espresso编写自动化UI测试的基础知识,以及如何为高级功能定制框架。作者提供了Java和Kotlin的例子,包括处理UI测试中的网络操作,测试应用程序的可访问性,实施监督的猴子测试,等等。


你将会学到什么

- 用Kotlin和Java编写Espresso测试,包括测试项目从Java到Kotlin的迁移

- 在被测试的应用程序中测试网络视图

- 使用Espresso来设置测试设备或模拟器,以尽量减少测试的不稳定性,并在Firebase测试实验室运行测试

- 用Espresso-Intents验证和存根意图

- 将测试项目转移到AndroidX

- 在Espresso测试执行期间测试通知或对第三方应用程序进行操作

- 在测试项目中应用不同的测试架构方法,以减少维护工作量

- 使用Espresso和UIAutomator实施有监督的猴子测试


本书适用对象

具有Android测试自动化经验的工程师将从本书中受益

展开>> 收起<<

请登录,再发表你的看法

登录/注册

二一

相关文库

更多

浏览量

(113)

下载

(5)

收藏

分享

购买

5积分

0积分

原价5积分

VIP

*

投诉主题:

  • 下载 下架函

*

描述:

*

图片:

上传图片

上传图片

最多上传2张图片

提示

取消 确定

提示

取消 确定

提示

取消 确定

积分充值

选择充值金额:

30积分

6.00元

90积分

18.00元

150+8积分

30.00元

340+20积分

68.00元

640+50积分

128.00元

990+70积分

198.00元

1640+140积分

328.00元

微信支付

余额支付

积分充值

填写信息

姓名*

邮箱*

姓名*

邮箱*

注:填写完信息后,该报告便可下载

选择下载内容

全选

取消全选

已选 1