Al-Najd / iOS

An App to Gamify the acts of Islam to make good habits out of it
2 stars 1 forks source link

Add Testing to Onboarding #26

Closed ARamy23 closed 2 years ago

ARamy23 commented 2 years ago

What to do

  1. Unit test that Onboarding flow works if watched first time and don't after n+1 numbers of open app
  2. Make sure Onboarding Flow steps are tracked through Snapshot Tests
  3. Make sure localization is covered in Snapshots

How to do it

  1. Make sure the flow doesn't get installed on the SwiftUI navigation stack if the onboarding flag is not covered
  2. Watch point's free videos about Navigations (TabBar's and Navigational Link)
  3. Refer back to isowords github repo

Expected

  1. Onboarding doesn't get triggered if didWatchOnboarding flag is true
  2. Onboarding get triggered if didWatch flag is false
  3. Localization Screenshots are taken
  4. UI is not messed up on smaller devices
  5. UI is not messed up on large devices
  6. No performance bottlenecks happens
  7. POWs (Proof of work for each case)
  8. Expected points should be put in different PRs (unless some are solved together by the same approach like 1 & 2)
  9. Make sure you document this on the Wiki of the project