Android Espresso Revealed: Writing Automated UI Tests

0
(0)

Android Espresso Revealed: Writing Automated UI Tests
 

  • Author:Denys Zelenchuk
  • Length: 308 pages
  • Edition: 1st ed.
  • Publisher: Apress
  • Publication Date: 2019-04-14
  • ISBN-10: 1484243145
  • ISBN-13: 9781484243145
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    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

    中文:

    书名:Android Espresso透露:编写自动化用户界面测试

    使用Google Espresso for Android编写Android用户界面(UI)测试。您将介绍使用Espresso测试框架编写功能UI自动化测试的所有主要主题,包括运行自动化测试的不同方式、以一种简单且可维护的方式构建测试项目以及使用有助于以更少的工作量实现自动化测试的工具。

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

    你将学到什么

    • 用Kotlin和Java编写Espresso测试,包括从Java到Kotlin的测试项目迁移
    • 测试被测应用程序内部的测试Web视图
    • 使用Espresso设置测试设备或模拟器,以最大限度地减少测试剥落,并在Firebase测试实验室中运行测试
    • Verify and stub intents with Espresso-Intents
    • 将测试项目移至Android
    • 在Espresso测试执行期间测试通知或操作第三方应用程序
    • 将不同的测试架构方法应用于测试项目,以减少维护工作
    • 使用Espresso和UIAutomator实现有监督的猴子测试

    这本书是为谁写的

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

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册