Book description
- 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
Table of contents
- Cover
- Front Matter
- 1. Getting Started with Espresso for Android
- 2. Customizing Espresso for Our Needs
- 3. Writing Espresso Tests with Kotlin
- 4. Handling Network Operations and Asynchronous Actions
- 5. Verifying and Stubbing Intents with IntentMatchers
- 6. Testing Web Views
- 7. Accessibility Testing
- 8. Espresso and UI Automator: the Perfect Tandem
- 9. Dealing with Runtime System Actions and Permissions
- 10. Android Test Automation Tooling
- 11. The Screen Object Design Pattern in Android UI Tests
- 12. Testing Robot Pattern with Espresso and Kotlin
- 13. Supervised Monkey Tests with Espresso and UI Automator
- 14. AndroidX Test Library
- 15. Improving Productivity and Testing Unusual Components
- Back Matter
Product information
- Title: Android Espresso Revealed: Writing Automated UI Tests
- Author(s):
- Release date: March 2019
- Publisher(s): Apress
- ISBN: 9781484243152
You might also like
audiobook
Technically Wrong
Buying groceries, tracking our health, finding a date: whatever we want to do, odds are that …
audiobook
How to Do Nothing
A galvanizing critique of the forces vying for our attention-and our personal information-that redefines what we …
book
The Art of Communication
Bring nuance, depth, and meaning to every conversation you have The Art of Communication is for …
book
Android UI Development with Jetpack Compose
Get started with creating intuitive native user interfaces on Android platforms Key Features Understand the difference …