passepartout-apple/Passepartout/Library/Sources/AppUIMain
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 Split app and UI domains (#949) 2024-11-26 21:21:49 +01:00
Extensions Refactor provider server views 2024-11-26 00:18:08 +01:00
Resources Move more views to UILibrary (#919) 2024-11-23 19:26:33 +01:00
Views Separate AppContext for previews and UI testing (#961) 2024-11-28 17:31:17 +01:00
AppUIMain.swift Prepare WireGuard for provider selector (#890) 2024-11-18 17:49:47 +01:00