mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
a87baa133a
Adds the test targets for Unit and UI tests Adds mock screen data and utilities to render each mock screen for previews/ui tests. Changes Published property in the service to CurrentValueSubject. we don't need the synthesized aspect of Published and property wrappers cannot be included in protocols.
63 lines
1.6 KiB
YAML
63 lines
1.6 KiB
YAML
name: RiotSwiftUITests
|
|
|
|
schemes:
|
|
RiotSwiftUITests:
|
|
analyze:
|
|
config: Debug
|
|
archive:
|
|
config: Release
|
|
build:
|
|
targets:
|
|
RiotSwiftUITests:
|
|
- running
|
|
- testing
|
|
- profiling
|
|
- analyzing
|
|
- archiving
|
|
profile:
|
|
config: Release
|
|
run:
|
|
config: Debug
|
|
disableMainThreadChecker: true
|
|
test:
|
|
config: Debug
|
|
disableMainThreadChecker: true
|
|
targets:
|
|
- RiotSwiftUITests
|
|
|
|
targets:
|
|
RiotSwiftUITests:
|
|
type: bundle.ui-testing
|
|
platform: iOS
|
|
|
|
dependencies:
|
|
- target: RiotSwiftUI
|
|
|
|
# configFiles:
|
|
# Debug: Debug.xcconfig
|
|
# Release: Release.xcconfig
|
|
|
|
settings:
|
|
base:
|
|
TEST_TARGET_NAME: RiotSwiftUI
|
|
# PRODUCT_NAME: RiotSwiftUITests
|
|
PRODUCT_BUNDLE_IDENTIFIER: org.matrix.RiotSwiftUITests$(rfc1034identifier)
|
|
# BUNDLE_LOADER: $(TEST_HOST)
|
|
# FRAMEWORK_SEARCH_PATHS: $(SDKROOT)/Developer/Library/Frameworks $(inherited)
|
|
# INFOPLIST_FILE: RiotSwiftUI/Info.plist
|
|
# LD_RUNPATH_SEARCH_PATHS: $(inherited) @executable_path/Frameworks @loader_path/Frameworks
|
|
# PRODUCT_BUNDLE_IDENTIFIER: org.matrix.$(PRODUCT_NAME:rfc1034identifier)
|
|
# PRODUCT_NAME: RiotSwiftUITests
|
|
# TEST_TARGET_NAME: $(BUILT_PRODUCTS_DIR)/RiotSwiftUI.app/RiotSwiftUI
|
|
# configs:
|
|
# Debug:
|
|
# Release:
|
|
# PROVISIONING_PROFILE: $(RIOT_PROVISIONING_PROFILE)
|
|
# PROVISIONING_PROFILE_SPECIFIER: $(RIOT_PROVISIONING_PROFILE_SPECIFIER)
|
|
sources:
|
|
- path: ../RiotSwiftUI/Modules
|
|
includes:
|
|
- "**/Test"
|
|
excludes:
|
|
- "**/Test/Unit/**"
|