Skip to content

Commit

Permalink
Add TestPlan
Browse files Browse the repository at this point in the history
  • Loading branch information
ski-u committed Apr 20, 2024
1 parent 97c646c commit a7ef352
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 2 deletions.
45 changes: 45 additions & 0 deletions AllTests.xctestplan
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"configurations" : [
{
"id" : "B7439DEE-0F17-4723-A6C1-27F5CC850280",
"name" : "Configuration 1",
"options" : {

}
}
],
"defaultOptions" : {
"testTimeoutsEnabled" : true
},
"testTargets" : [
{
"target" : {
"containerPath" : "container:Features",
"identifier" : "APITests",
"name" : "APITests"
}
},
{
"target" : {
"containerPath" : "container:Features",
"identifier" : "FeaturesTests",
"name" : "FeaturesTests"
}
},
{
"target" : {
"containerPath" : "container:Features",
"identifier" : "SettingsTests",
"name" : "SettingsTests"
}
},
{
"target" : {
"containerPath" : "container:Features",
"identifier" : "TodayTests",
"name" : "TodayTests"
}
}
],
"version" : 1
}
2 changes: 2 additions & 0 deletions NASAClient.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
021A57BE269C141200A55AC1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
021A57C1269C141200A55AC1 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
02BD2B392A28F20F00141B4F /* Features */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = Features; sourceTree = "<group>"; };
02D592742BD3E7EE00793D03 /* AllTests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = AllTests.xctestplan; sourceTree = "<group>"; };
02E5A491270967FE00150E98 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand All @@ -37,6 +38,7 @@
021A57AE269C141100A55AC1 = {
isa = PBXGroup;
children = (
02D592742BD3E7EE00793D03 /* AllTests.xctestplan */,
02BD2B392A28F20F00141B4F /* Features */,
02E5A491270967FE00150E98 /* README.md */,
021A57B9269C141100A55AC1 /* App */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
shouldUseLaunchSchemeArgsEnv = "YES">
<TestPlans>
<TestPlanReference
reference = "container:AllTests.xctestplan"
default = "YES">
</TestPlanReference>
</TestPlans>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand Down

0 comments on commit a7ef352

Please sign in to comment.