Skip to content

Android To-Do application with the full set of Espresso UI tests samples.

License

Notifications You must be signed in to change notification settings

denyszet/discovering-espresso

Repository files navigation

UI tests with Espresso. Essentials.

lesson_01 - Inspecting app UI and locating UI elements.

  1. Parsing application UI with Layout Inspector.

lesson_02 - Understanding ViewMatchers concept.

  1. Different ViewMatcher types.
  2. Where and how to use ViewMatcher?

lesson_03 - Getting familiar with HamcrestMatchers.

  1. What are the Hamcrest matchers?
  2. Combining multiple matchers in order to uniquely locate the View.

lesson_04 - Basic ViewActions usage.

  1. What kind of ViewAction types exists and where they can be applied?

lesson_05 - ViewAssertions.

  1. matches()
  2. doesNotExist()

lesson_06 - Preparing test device for the test run.

  1. Disabling animations.
  2. Changing Touch & hold delay value.
  3. Performing device set up automatically.

lesson_07 - DataInteraction and where it is used.

  1. Performing actions and assertions on ListView elements.

lesson_08 - Performing actions on RecyclerView using RecyclerViewActions.

  1. Performing actions at position.
  2. Scrolling to RecyclerView items.

lesson_09 - Record Espresso tests with Test Recorder.

  1. How to record Espresso tests using Espresso test recorder?
  2. Tuning the test recorder.

lesson_10 - Creating Espresso Domain Specific Language (DSL).

  1. Build our own Espresso DSL to simplify the syntax.

lesson_11 - Testing WebView. Espresso Web cheat sheet.

  1. Getting to know Espresso Web API.
  2. Performing actions and assertions on WebView.
  3. Download Espresso Web cheat sheet for future use.

lesson_12 - Test annotations: @SmallTest, @MediumTest, @LargeTest.

  1. Where can you apply them?

lesson_13 - Running single and multiple tests.

  1. Creating test suites.
  2. Running test from terminal.
  3. Running tests using gradle commands.

About

Android To-Do application with the full set of Espresso UI tests samples.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published