* prefire basic implementation force the unit tests to run on iPhone 14 skipping plugin validation archive artifacts better workflow removed the OS restriction lfs custom stencil new test file deleting * git lfs * lfs * test * customised the stencil to support our internal protocol * for now we can remove the OS check from the stencil * added a delay * tests have been moved * improvement * recommit * perceptual precision lowered * updated snapshot testing and selected also iOS version * added ios version control
58 lines
1.2 KiB
YAML
58 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
|
|
|
|
buildToolPlugins:
|
|
- plugin: PrefireTestsPlugin
|
|
package: Prefire
|
|
|
|
dependencies:
|
|
- target: ElementX
|
|
- package: SnapshotTesting
|
|
|
|
info:
|
|
path: ../SupportingFiles/Info.plist
|
|
|
|
settings:
|
|
base:
|
|
PRODUCT_NAME: UnitTests
|
|
PRODUCT_BUNDLE_IDENTIFIER: ${BASE_BUNDLE_IDENTIFIER}.unit.tests
|
|
debug:
|
|
release:
|
|
|
|
sources:
|
|
- path: ../Sources
|
|
excludes:
|
|
- "**/__Snapshots__/**"
|
|
- path: ../SupportingFiles
|
|
- path: ../../ElementX/Sources/Other/InfoPlistReader.swift
|
|
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/Tests/Unit
|
|
- path: ../Resources
|