mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-11 13:59:13 +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.
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
name: UnitTests
|
|
|
|
schemes:
|
|
UnitTests:
|
|
analyze:
|
|
config: Debug
|
|
archive:
|
|
config: Release
|
|
build:
|
|
targets:
|
|
UnitTests: all
|
|
profile:
|
|
config: Release
|
|
run:
|
|
config: Debug
|
|
disableMainThreadChecker: false
|
|
test:
|
|
config: Debug
|
|
disableMainThreadChecker: false
|
|
gatherCoverageData: true
|
|
coverageTargets:
|
|
- ElementX
|
|
testPlans:
|
|
- path: UnitTests.xctestplan
|
|
defaultPlan: true
|
|
|
|
targets:
|
|
UnitTests:
|
|
type: bundle.unit-test
|
|
platform: iOS
|
|
|
|
dependencies:
|
|
- target: ElementX
|
|
- package: MatrixRustSDK
|
|
|
|
info:
|
|
path: ../SupportingFiles/Info.plist
|
|
|
|
settings:
|
|
base:
|
|
PRODUCT_NAME: UnitTests
|
|
PRODUCT_BUNDLE_IDENTIFIER: ${BASE_BUNDLE_IDENTIFIER}.unit.tests
|
|
debug:
|
|
release:
|
|
|
|
sources:
|
|
- path: ../Sources
|
|
- path: ../SupportingFiles
|
|
- path: ../../DevelopmentAssets
|
|
- path: ../../ElementX/Sources/Other/Extensions/Publisher.swift
|
|
- path: ../../ElementX/Sources/Other/Extensions/XCTestCase.swift
|
|
- path: ../../ElementX/Sources/Other/InfoPlistReader.swift
|
|
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/Tests/Unit
|
|
|