passepartout-apple/Passepartout/Library/Sources/UILibrary/Extensions
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
..
EnvironmentValues+Extensions.swift Add target for UI tests (#959) 2024-11-28 01:30:26 +01:00
ModuleBuilder+Previews.swift Rearrange targets for unit testing (#900) 2024-11-20 18:05:47 +01:00
ModuleDraftEditing+UI.swift Rearrange targets for unit testing (#900) 2024-11-20 18:05:47 +01:00
ProfileEditor+UI.swift Update library with provider in modules (#887) 2024-11-17 22:27:02 +01:00
ProfileManager+Editing.swift Replace active modules count with a description (#915) 2024-11-22 12:52:51 +01:00
TunnelInstallationProviding+Extensions.swift Replace active modules count with a description (#915) 2024-11-22 12:52:51 +01:00
View+Environment.swift Separate AppContext for previews and UI testing (#961) 2024-11-28 17:31:17 +01:00