mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 13:37:11 +00:00

* Retrofit `deferFulfillment` onto snapshot tests. * Convert a bunch of preview tests to the new fulfillment publisher * Convert more tests * Remove unneeded delays from the remaining tests * Remove snapshotting delay option.
53 lines
1.0 KiB
YAML
53 lines
1.0 KiB
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: MatrixRustSDK
|
|
- 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
|
|
- path: ../../ElementX/Sources/Other/Extensions/XCTestCase.swift
|