passepartout-apple/Passepartout/Library/Tests/CommonLibraryTests
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
..
Mock Separate AppContext for previews and UI testing (#961) 2024-11-28 17:31:17 +01:00
ExtendedTunnelTests.swift Receive tests on ImmediateScheduler 2024-11-26 16:20:16 +01:00
IAPManagerTests.swift Receive tests on ImmediateScheduler 2024-11-26 16:20:16 +01:00
MigrationManagerTests.swift Test MigrationManager (#904) 2024-11-21 19:44:20 +01:00
ProfileManagerTests.swift Separate AppContext for previews and UI testing (#961) 2024-11-28 17:31:17 +01:00
Shared.swift Share tests timeout and set to .infinity 2024-11-26 12:33:28 +01:00