element-x-ios/UnitTests/SupportingFiles/target.yml

53 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
environmentVariables:
IS_RUNNING_UNIT_TESTS: "1"
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
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: ../../Tools/Scripts/Templates/SimpleScreenExample/Tests/Unit
- path: ../Resources
- path: ../../ElementX/Sources/Other/InfoPlistReader.swift