Skip to content

Commit f0a9f3d

Browse files
converted the test target to use test plans
1 parent cf07a3a commit f0a9f3d

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

StreamChatSwiftUI.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@
258258

259259
/* Begin PBXFileReference section */
260260
4A65451E274BA170003C5FA8 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
261+
842E979C275E0AD000A52E7B /* StreamChatSwiftUI.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = StreamChatSwiftUI.xctestplan; sourceTree = "<group>"; };
261262
84335013274BAB15007A1B81 /* ViewFactoryExamples.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewFactoryExamples.swift; sourceTree = "<group>"; };
262263
84335015274BABF3007A1B81 /* NewChatView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewChatView.swift; sourceTree = "<group>"; };
263264
84335017274BAD4B007A1B81 /* NewChatViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewChatViewModel.swift; sourceTree = "<group>"; };
@@ -970,6 +971,7 @@
970971
84C94D4027579EAF007FE2B9 /* Tests */ = {
971972
isa = PBXGroup;
972973
children = (
974+
842E979C275E0AD000A52E7B /* StreamChatSwiftUI.xctestplan */,
973975
84C94C7D27567CC2007FE2B9 /* ChatChannelList */,
974976
84C94D472758BDB2007FE2B9 /* ChatChannel */,
975977
84C94D52275A135F007FE2B9 /* Utils */,

StreamChatSwiftUI.xcodeproj/xcshareddata/xcschemes/StreamChatSwiftUI.xcscheme

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
33
LastUpgradeVersion = "1310"
4-
version = "1.3">
4+
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"
77
buildImplicitDependencies = "YES">
@@ -28,6 +28,12 @@
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES"
3030
codeCoverageEnabled = "YES">
31+
<TestPlans>
32+
<TestPlanReference
33+
reference = "container:StreamChatSwiftUITests/Tests/StreamChatSwiftUI.xctestplan"
34+
default = "YES">
35+
</TestPlanReference>
36+
</TestPlans>
3137
<Testables>
3238
<TestableReference
3339
skipped = "NO">
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"configurations" : [
3+
{
4+
"id" : "8EC9ED67-3425-42F1-B34A-A5A9F2670614",
5+
"name" : "Configuration 1",
6+
"options" : {
7+
8+
}
9+
}
10+
],
11+
"defaultOptions" : {
12+
13+
},
14+
"testTargets" : [
15+
{
16+
"target" : {
17+
"containerPath" : "container:StreamChatSwiftUI.xcodeproj",
18+
"identifier" : "8465FBBC2746873A00AF091E",
19+
"name" : "StreamChatSwiftUITests"
20+
}
21+
}
22+
],
23+
"version" : 1
24+
}

0 commit comments

Comments
 (0)