Skip to content

Commit

Permalink
add testing target to settings feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mltbnz committed Jul 31, 2024
1 parent 02e3fc1 commit 37a075f
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CriticalMaps.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
73BABF82277B0A2900D9790F /* CHANGELOG.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
73BABF83277B0A2900D9790F /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
73CA9806268DCC0F004D81FA /* UnitTests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = UnitTests.xctestplan; sourceTree = "<group>"; };
73CD4DA02C594402003CAEA2 /* SettingsFeature.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; name = SettingsFeature.xctestplan; path = Testplans/SettingsFeature.xctestplan; sourceTree = "<group>"; };
73CF5FC2263EAF5B001925A3 /* Critical Maps.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Critical Maps.app"; sourceTree = BUILT_PRODUCTS_DIR; };
73CF5FF1263EB0A6001925A3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
73CF5FF6263EB0A6001925A3 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand Down Expand Up @@ -153,6 +154,7 @@
73CF5FB9263EAF5B001925A3 = {
isa = PBXGroup;
children = (
73CD4DA02C594402003CAEA2 /* SettingsFeature.xctestplan */,
73F010D82B94A19700C2B613 /* LisbonPortugal.gpx */,
73BABF82277B0A2900D9790F /* CHANGELOG.md */,
73BABF83277B0A2900D9790F /* README.md */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
shouldUseLaunchSchemeArgsEnv = "YES">
<TestPlans>
<TestPlanReference
reference = "container:../Testplans/SettingsFeature.xctestplan"
default = "YES">
</TestPlanReference>
</TestPlans>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand Down
24 changes: 24 additions & 0 deletions Testplans/SettingsFeature.xctestplan
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"configurations" : [
{
"id" : "4B1A0817-CF9E-417F-9001-DC8A84FCF6C9",
"name" : "Test Scheme Action",
"options" : {

}
}
],
"defaultOptions" : {
"codeCoverage" : false
},
"testTargets" : [
{
"target" : {
"containerPath" : "container:",
"identifier" : "SettingsFeatureTests",
"name" : "SettingsFeatureTests"
}
}
],
"version" : 1
}

0 comments on commit 37a075f

Please sign in to comment.