Stefan Ceriu 2f6fea29f3
Replace Prefire with a very similar but simpler and more direct approach (#3232)
* Replace Prefire with a very similar but simpler and more direct approach

* Move PreviewTest snapshots to their new location (snapshotting default, mirrors UITests)

* Update acknowledgements

* Switch snapshot configuration extensions to a custom version

* Exclude snapshots from the PreviewTests target

* Fix acknowledgements

* Rename snapshotting preference keys

* Remove `skipPackagePluginValidation`
2024-09-09 15:07:41 +03:00

51 lines
975 B
YAML

name: PreviewTests
schemes:
PreviewTests:
analyze:
config: Debug
archive:
config: Release
build:
targets:
PreviewTests: all
profile:
config: Release
run:
config: Debug
disableMainThreadChecker: false
test:
config: Debug
disableMainThreadChecker: false
gatherCoverageData: true
coverageTargets:
- ElementX
testPlans:
- path: PreviewTests.xctestplan
defaultPlan: true
targets:
PreviewTests:
type: bundle.unit-test
platform: iOS
dependencies:
- target: ElementX
- package: SnapshotTesting
info:
path: ../SupportingFiles/Info.plist
settings:
base:
PRODUCT_NAME: PreviewTests
PRODUCT_BUNDLE_IDENTIFIER: ${BASE_BUNDLE_IDENTIFIER}.preview.tests
debug:
release:
sources:
- path: ../Sources
excludes:
- "**/__Snapshots__/**"
- path: ../SupportingFiles