Skip to content

CarEShip App Instrumented UI testing

Akuien A. Deng edited this page May 29, 2022 · 2 revisions

Description

In this Milestone, we want to implement the android app testing for the CarEship app UI. This will be done using Instrumental testing for the UI using Espresso. The testing will give the developer a way to quickly determine that each newly added app functionality works accordingly. The main objective for the testing is to ensure quality product delivery to the product owner and assert that the new system achieves the product goals and deliverables.

The android test is expected to do the following: Test and verify that;

  1. All the elements of a screen are being loaded and used.
  2. All the views used functions properly.
  3. All the buttons eg like login and create account works as expected.

Functional requirements

  1. The tests should give instant feedback if the tested screen or feature is functioning as expected.
  2. The test should provide feedback in case any part of the code in the android is not working properly as expected.
  3. The test should be easy to modify.

Non- functional requirements

  1. The android test instrumented test should successfully test and give feedback of any error 100% of the time.

Example scenario

A staff member complains to the developer that the login screen crashes whenever trying to login and furthermore making issues in delivering the order to the customer. So the developer checks the unit tests regarding the login screens, and figures out that the unit test fails in a certain part, which gives the developers a better idea of what is wrong and how to fix it without making any further issues in the app and saving a lot of time for both developers and staff.

Clone this wiki locally