Android Espresso Revealed: Writing Automated UI Tests

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,...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Zelenchuk, Denys
Format: Buch
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung: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 LearnWrite Espresso tests with both Kotlin and Java including test project migration from Java to KotlinTest web views inside the application undertestUse Espresso to set up test devices or emulators to minimize test flakiness and run tests in Firebase Test LabVerify and stub intents with Espresso-IntentsMove test projects to AndroidXTest notifications or operate on third-party apps during Espresso test executionApply different test architecture approaches to the test project to reduce maintenance effortImplement supervised monkey tests using Espresso and UIAutomatorWho This Book Is ForEngineers with experience of Android test automation will benefit from this book
DOI:10.1007/978-1-4842-4315-2