Files
letro-ios/UnitTests/SupportingFiles/target.yml
Mauro e5b4d86c58 Prefire compatibility with Xcode 15 (#1773)
* xcode ready solution

* now the previews won't fail but get generated

* delay in some screens that require a waiting state (the bloom does not work in previews)

* better code

* longer delay

removed and redone lfs

readded as lfs
2023-09-21 11:02:50 +02:00

56 lines
1.1 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
- path: ../SupportingFiles
- path: ../../ElementX/Sources/Other/InfoPlistReader.swift
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/Tests/Unit
- path: ../Resources