Skip to content

What are Espresso Intents

Devrath edited this page Feb 28, 2024 · 2 revisions

About Espresso Intents

  • Espresso Intents are useful when we are testing other applications other than our application under test.

Possible scenarios

  • We come across this scenario where our application uses other applications in some scenarios, The control goes from our application to another application and then returns to our application.
  • Our goal is to test our application and not the application to which is redirected, But still, to test our application we need to follow the complete flow.
  • So we can stub the intents and add the assertion later on the intents

Real world scenario

  • Accessing camera app in our applicaiton.
  • Accessing the dialer app in our applicaiton.