Tagged articles
6 articles
Page 1 of 1
Airbnb Technology Team
Airbnb Technology Team
Jan 27, 2022 · Mobile Development

Architecture of Airbnb's Automated Testing Framework (Part 5)

Part 5 of Airbnb’s Android testing series details the custom IntegrationTestActivity architecture that drives fragment‑based screenshots and interactions, explains how idle state is detected by polling Looper queues, and describes a global exception handler that adds contextual test information to aid rapid debugging.

AndroidAutomated TestingError Handling
0 likes · 13 min read
Architecture of Airbnb's Automated Testing Framework (Part 5)
Airbnb Technology Team
Airbnb Technology Team
Nov 25, 2021 · Mobile Development

How Airbnb Automates Android Interaction Testing with JSON Diff

Airbnb’s Android team built an automated interaction testing system that traverses view hierarchies, records click actions and resulting state changes into JSON snapshots, enabling diff-based verification of UI behavior without writing traditional Espresso tests, and integrates with Happo for CI reporting.

AndroidAutomated TestingEspresso
0 likes · 18 min read
How Airbnb Automates Android Interaction Testing with JSON Diff
vivo Internet Technology
vivo Internet Technology
Sep 10, 2020 · Mobile Development

Getting Started with Android Development Testing: Unit Tests and Espresso UI Tests

The guide walks developers through Android testing basics by explaining JUnit unit tests, instrumented tests, and Espresso UI tests, showing where local and device tests reside, demonstrating how to generate a Calculator unit test and an Espresso test for a simple activity, and how to run them in Android Studio.

AndroidEspressoInstrumentation
0 likes · 12 min read
Getting Started with Android Development Testing: Unit Tests and Espresso UI Tests
Huajiao Technology
Huajiao Technology
Feb 4, 2020 · Mobile Development

How to Build Reliable Android Automated Tests: From Unit to UI

This article explains why Android testing is crucial, outlines common testability problems, and provides step‑by‑step solutions using MVP architecture, interface‑based design, JUnit, Mockito, Robolectric, Espresso, and CI integration to create maintainable unit and UI tests.

AndroidAutomated TestingCI
0 likes · 12 min read
How to Build Reliable Android Automated Tests: From Unit to UI
Hujiang Technology
Hujiang Technology
May 2, 2017 · Mobile Development

How to Build a Full‑Coverage Android UI Test Platform with Espresso

Despite widespread reliance on manual UI testing, this article details how the author’s team built an Espresso‑based test platform that achieves 80‑90% functional coverage, introduces the ETP design, explains single‑page testing, test flows, and shares practical solutions to common Espresso pitfalls.

AndroidEspressoIdlingResource
0 likes · 16 min read
How to Build a Full‑Coverage Android UI Test Platform with Espresso
Tencent Music Tech Team
Tencent Music Tech Team
Jan 19, 2017 · Mobile Development

Android UI Automation Testing with Espresso Framework

The article introduces Google’s Espresso framework for Android UI automation, explains how to configure Gradle dependencies and the test runner, and guides developers through writing robust test cases by locating views, performing actions, and asserting states with onView().perform().check(), including a complete @Rule‑based example.

AndroidAndroid StudioEspresso
0 likes · 8 min read
Android UI Automation Testing with Espresso Framework