* Test plan for component: gallery-app

Dependents/Clients

Test Plan

This test plan is not supposed to be complete; use it to guide your manual testing so they dont miss big functional areas that are part in the component; also this should be used as guideline to inspire the exploratory testing which should be adapted smartly based on the real content of a MP

Stress Testing

Create a library of thousands of photos to do performance testing. Helper script to duplicate a given photo 2000 times:

for n in $(seq -w 2000); do cp <reference_picture>.jpg ~/Pictures/picture_${n}.jpg; done

for n in $(seq -w 2000); do cp <reference_picture>.jpg /media/phablet/<someId>/Pictures/picture_${n}.jpg; done

Several stories need testing in this scenario:

  1. Opening up the app should not freeze or be delayed
  2. You should see a "Loading..." screen (for up to ~30 seconds depending on how many photos/videos are on the SD card) until the first of the photos start to be displayed. Other photos will then continue to be loaded in the background
  3. All navigation and operations (open photo, create album, navigate photos, delete photo, edit photo) should functional during the background loading from SD card, but some might be slightly delayed due to the background operations running.
  4. While photos from SD card background loading, verify that you can take a picture with the camera and it will show up in the Events view. It might be slightly delayed until it shows up due to background processing.
  5. Close the gallery-app and remove the SD card
  6. Re-launch and ensure only the pictures on internal disk are displayed.

Process/Merges/TestPlan/gallery-app (last edited 2016-09-28 13:53:41 by localhost)