passepartout-apple/Passepartout/Library/Sources/UILibrary
Davide 2a467e0c7e
Separate AppContext for previews and UI testing (#961)
Clarify the use of contexts:

- **Production** (.shared)
- **Previews** (.mock → .forPreviews)
  - ONLY use it in UILibrary for, well, previews
  - This context has dumb profiles with UUIDs as names
  - Registry is fake
- **UI Tests** (.forUITesting)
  - Add new context for UI testing
  - Selected based on command line arguments
  - This context has mock data tuned for decent screenshots
  - Registry is real

Share the same InAppProcessor in .shared and .forTesting contexts
because the app behavior was inconsistent regarding e.g. in-app
purchases.
2024-11-28 17:31:17 +01:00
..
Business Split app and UI domains (#949) 2024-11-26 21:21:49 +01:00
Domain Define common PreferenceProtocol 2024-11-27 09:40:32 +01:00
Extensions Separate AppContext for previews and UI testing (#961) 2024-11-28 17:31:17 +01:00
L10n Automate screenshots via UI tests (#960) 2024-11-28 15:51:03 +01:00
Previews Separate AppContext for previews and UI testing (#961) 2024-11-28 17:31:17 +01:00
Resources Inform about use of profile name in Shortcuts (#954) 2024-11-27 15:30:15 +01:00
Strategy Split app and UI domains (#949) 2024-11-26 21:21:49 +01:00
Theme Inform about use of profile name in Shortcuts (#954) 2024-11-27 15:30:15 +01:00
Views Separate AppContext for previews and UI testing (#961) 2024-11-28 17:31:17 +01:00
UILibrary.swift Rethink eligibility checks (#889) 2024-11-18 17:43:01 +01:00