Book description
- Write Espresso tests with both Kotlin and Java including test project migration from Java to Kotlin
- Test web views inside the application undertest
- 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
video
Test-Driven Development (TDD) for Android
2.5 Hours of Video Training Continuous Delivery (CD) is an agile practice that's had a big …
book
Learning Android Application Testing
Improve your Android applications through intensive testing and debugging In Detail This book is a practical …
book
Simplifying Android Development with Coroutines and Flows
Get to grips with asynchronous programming in Android using simple, modern, and testable code through Kotlin …
book
Expert Android Programming
Become a pro with the latest Android SDK and create state of the art applications for …