Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 903 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 903 Bytes

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

Demo Gif

Espresso Cheat Sheet

Espresso Cheat Sheet