Espresso training

Get Started. It's Free
or sign up with your email address
Espresso training by Mind Map: Espresso training

1. Resources

1.1. Older

1.1.1. Code samples

1.1.1.1. chiuki/espresso-samples

1.1.1.2. googlesamples/android-testing

1.1.2. Official docs

1.1.2.1. Espresso | Android Developers

1.1.3. Espresso cheat sheet | Android Developers

1.1.4. Advanced

1.1.4.1. droidcon NYC 2017 - How Espresso Works

1.1.4.2. Advanced Android Espresso

1.1.5. Support

1.1.5.1. Slack

2. Building blocks of espresso test

2.1. Locators/ViewMachers

2.1.1. onView()

2.1.1.1. withId

2.1.1.2. withText

2.1.1.3. withContentDescriptors

2.1.2. onData()

2.1.3. allOf

2.1.4. ViewMatchers | Android Developers

2.1.5. Hamcrest

2.2. Actions

2.2.1. Click

2.2.2. typeText

2.2.3. swipe etc..

2.2.4. ViewAction | Android Developers

2.3. Assertions

2.3.1. check

2.3.2. matches

2.3.3. isDisplayed?()

2.3.4. not

2.3.5. ViewAssertions | Android Developers

3. Advanced features

3.1. Idling resources

3.2. Calling intents/activities

3.3. SetupRules

3.4. Shared code between Robo and Espresso

4. UI Automation framework from google

4.1. About 6 years old

4.2. Java/Kotlin only

4.3. https://developer.android.com/training/testing/espresso

4.4. Integrated within Android studio

4.4.1. Tests can be written, debugged and run

4.4.2. Record and playback tool available

4.4.3. Tools for inspection

4.4.4. Can run tests directly on Firebase test lab

5. Comparision

5.1. Appium

5.1.1. appium uses espresso

5.1.2. More black box scenarios

5.2. UIAutomator

5.2.1. Traditional Older framework from Google

5.2.2. Can interact with other apps

5.2.3. Works seamlessly with espresso

5.3. Selenium/webdriver

5.3.1. Not a black box tool

5.3.2. Doesn't need implicit or explicit waiters

5.4. XCUITest