Advanced Android Espresso Testing
1h 37mAdvanced2018-03-09
Authors

Chiu-Ki Chan
Android Developer, Speaker, Teacher
Course details
Take an in-depth look at using the Android Espresso library to write Android UI tests. In this course, Chiu-Ki Chan tackles advanced topics in Android Espresso testing, including intents, hermetic test environment, and IdlingResource. She covers incoming and outgoing intents, dependency injection, Mockito and Dagger, and more. If you're an Android developer interested in implementing automated testing as part of the development lifecycle, this course can help to equip you with the techniques you need to write repeatable UI tests.
Learning objectives
Incoming and outgoing intents
How intents are used
Dependency injection
Why extract dependencies?
IdlingResource
Mockito and Dagger
Learning objectives
Incoming and outgoing intents
How intents are used
Dependency injection
Why extract dependencies?
IdlingResource
Mockito and Dagger
Skills covered
Android DevelopmentAndroidMobile DevelopmentAdvancedGoogle
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
- 03 - Exercise files
1. Intents
- 04 - App - Cat Names
- 05 - How intents are used
- 06 - Incoming intents - Empty
- 07 - Incoming intents - Activity rule
- 08 - Incoming intents - Known theme
- 09 - Incoming intents - Loading string
- 10 - Incoming intents - Unknown theme
- 11 - Outgoing intents - Launch activity
- 12 - Outgoing intents - Verify intent
- 13 - Outgoing intents - How to match
- 14 - Stubbing - Intending
- 15 - Stubbing - ActivityResult
2. Hermetic Test Environment
- 16 - App - Greetings
- 17 - Dependency injection
- 18 - GreetingApplication
- 19 - Why extract dependencies
- 20 - TestApplication
- 21 - CustomTestRunner
- 22 - Mockito
- 23 - Dagger
- 24 - Dagger dependencies
- 25 - Dagger component
- 26 - Use Dagger in application
- 27 - Dagger TestComponent
- 28 - MainActivityTest
3. IdlingResource
- 29 - Synchronization
- 30 - Idling resource
- 31 - App - Loading dialogue
- 32 - Failing test
- 33 - Dialogue fragment idling resource
- 34 - Using idling resource
- 35 - Wrap-up
Conclusion
- 36 - Next steps
Related courses
- Android App Security: A Structured Approach to Pen Testing
- Android Dependency Injection with Dagger 2 and Kotlin
- Writing Secure Code for Android by Infosec
- Concurrent Programming with Android: Threads, Workers, and Kotlin Coroutines
- Advanced Kotlin Database Development
- Flutter: Part 10 Firebase Cloud Firestore
- Create a CRM Mobile Application with React Native (2019)
- Create a CRM Mobile Application with React Native
Related learn paths
- Prepare for the Google Associate Android Developer Certification
- Become a Java Programmer
- Advance Your Skills as a Django Developer
- Elevating C# Skills: Building Robust Applications
- Improve Your JavaScript Language Skills
- Improve Your Test Automation with Python Skills
- Prepare for the Microsoft 365 Mobility and Security (MS-101) Exam
- Develop Your Skills in Agile Software Development