-
Notifications
You must be signed in to change notification settings - Fork 0
What is espresso
Devrath edited this page Feb 27, 2024
·
6 revisions
- Espresso is an open-source framework for Android applications developed by Google.
- Espresso automatically synchronizes your test actions with the user interface of your application.
- It ensures the activities are started before the tests are run.
- It also ensures all the tests are run before the background activity is completed.
FIND-SOMETHING
----> DO-SOMETHING
----> CHECK-SOMETHING
-
ViewMatchers
-> Finding a view in the current view hierarchy. -
ViewActions
-> Performing the actions on the view. -
ViewAssertions
-> Check something by asserting a value.
- Supported for all Android versions.
- Easier to set up.
- Supports
Jacoco
to measure code coverage. - Extensive testing is possible as it covers many UI actions and gestures(
Toast
messages,camera activity
, etc.)
- It takes a lot of time time to run the project.