File tree Expand file tree Collapse file tree 4 files changed +30
-0
lines changed
Expand file tree Collapse file tree 4 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+ <plist version =" 1.0" >
4+ <dict >
5+ <key >ENABLE_TESTING_SEARCH_PATHS </key >
6+ <string >YES </string >
7+ </dict >
8+ </plist >
Original file line number Diff line number Diff line change 1+ import ComposableArchitecture
2+ import XCTest
3+
4+ @testable import App
5+
6+ final class AppTests : XCTestCase {
7+ func test( ) {
8+
9+ }
10+ }
Original file line number Diff line number Diff line change @@ -72,6 +72,17 @@ let projectTarget: Target = .target(
7272 )
7373)
7474
75+ let appTestTarget : Target = . makeTarget(
76+ name: " AppTests " ,
77+ product: . unitTests,
78+ bundleName: " AppTests " ,
79+ infoPlist: . dictionary( [ " ENABLE_TESTING_SEARCH_PATHS " : " YES " ] ) ,
80+ resources: [ " AppTests/Resources/** " ] ,
81+ dependencies: [
82+ . target( projectTarget)
83+ ]
84+ )
85+
7586let project = Project (
7687 name: " App " ,
7788 options: . options(
@@ -80,6 +91,7 @@ let project = Project(
8091 ) ,
8192 targets: [
8293 projectTarget,
94+ appTestTarget,
8395 shareExtensionTarget
8496 ]
8597)
You can’t perform that action at this time.
0 commit comments