https://github.com/sharmadhiraj/espressodemo
Simple UI Testing performed using Espresso
https://github.com/sharmadhiraj/espressodemo
android espresso espresso-tests testing ui-testing
Last synced: about 2 months ago
JSON representation
Simple UI Testing performed using Espresso
- Host: GitHub
- URL: https://github.com/sharmadhiraj/espressodemo
- Owner: sharmadhiraj
- Created: 2019-02-28T07:37:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-01T05:25:43.000Z (over 2 years ago)
- Last Synced: 2025-08-04T21:11:45.369Z (11 months ago)
- Topics: android, espresso, espresso-tests, testing, ui-testing
- Language: Java
- Size: 2.49 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Espresso Demo for Android
This project demonstrates UI testing using Espresso for Android applications.
### Project Overview
- The app consists of two screens: Login and Home.
- Users can input a username and password, which are validated locally.
- Error messages are displayed if the input is empty or invalid.
- Upon entering a valid username and password, the user is redirected to the Home screen.
### UI Tests
- Test to verify if the username/password fields are empty and display the appropriate error.
- Test to verify if the username/password inputs are invalid and display the correct error message.
- Test to verify if the user is redirected to the Home screen after entering valid credentials and
the Login screen is finished.
### Demo

### Espresso Cheat Sheet
