All quizzes
Free quiz · 20 questions in the bank

Espresso quiz

Test your Espresso knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What is Espresso-Web used for?

Questions in this quiz
  1. What is Espresso-Web used for?
  2. What does `.check(matches(isDisplayed()))` verify in an Espresso test?
  3. What is Espresso's core design principle around handling asynchronous UI updates (like animations or a background task updating the UI) during test execution?
  4. Why might a test using `withText("Submit")` as a matcher sometimes match more than one view unexpectedly, causing an `AmbiguousViewMatcherException`?
  5. What is a benefit of Espresso's design encouraging small, focused test methods that verify one specific UI interaction/outcome, rather than one large end-to-end test covering an entire user flow?
  6. What is `FragmentScenario`, and what testing scenario is it designed for?
  7. What is Espresso, in the context of Android development?
  8. What is the basic structure of an Espresso test statement, commonly summarized as "ViewMatchers, ViewActions, ViewAssertions"?
  9. Where do Espresso tests typically run, compared to local JVM-based unit tests in an Android project?
  10. What is the general benefit of Espresso's tight integration with the Android framework compared to a more general cross-platform mobile UI testing tool?
  11. What does `ActivityScenario` (used in modern Espresso/AndroidX tests) provide for a test?
  12. What is an "IdlingResource" in Espresso, and when is it needed?
Gaps to close?
Read the curated Espresso notes — core concepts, patterns, interview prep.
Espresso notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web