Skip to content

Commit

Permalink
Add xctestplan
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelacaron committed Jul 27, 2024
1 parent bef7f39 commit 60e7ea6
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Basic-Car-Maintenance.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
FF755B422A90915E00F49A13 /* Localizable.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = Localizable.xcstrings; sourceTree = "<group>"; };
FF755B452A90969D00F49A13 /* Bundle+extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Bundle+extension.swift"; sourceTree = "<group>"; };
FF755B482A909A0000F49A13 /* AddMaintenanceView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddMaintenanceView.swift; sourceTree = "<group>"; };
FFA392762C54738E00A0AD6D /* Basic-Car-Maintenance.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = "Basic-Car-Maintenance.xctestplan"; sourceTree = "<group>"; };
FFAA56EC2AC8905C000120EE /* Documentation.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = Documentation.docc; sourceTree = "<group>"; };
FFBE79BB2AD0A57D0005524E /* UnitTests.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = UnitTests.xcconfig; sourceTree = "<group>"; };
FFBFE0902A98EFEC000A9BEB /* MaintenanceEvent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MaintenanceEvent.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -322,6 +323,7 @@
FF5D139A2A86C2D500BC9BD6 = {
isa = PBXGroup;
children = (
FFA392762C54738E00A0AD6D /* Basic-Car-Maintenance.xctestplan */,
FFBE79BA2AD0A48C0005524E /* Configurations */,
FF098EFA2AB3424E003EC0FE /* Basic-Car-Maintenance.xcconfig */,
FF5D13A52A86C2D600BC9BD6 /* Basic-Car-Maintenance */,
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:Basic-Car-Maintenance.xctestplan"
default = "YES">
</TestPlanReference>
</TestPlans>
<Testables>
<TestableReference
skipped = "NO"
Expand All @@ -50,6 +55,11 @@
BlueprintName = "Basic-Car-Maintenance-UITests"
ReferencedContainer = "container:Basic-Car-Maintenance.xcodeproj">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "BasicCarMaintenanceUITests">
</Test>
</SkippedTests>
</TestableReference>
</Testables>
</TestAction>
Expand Down
50 changes: 50 additions & 0 deletions Basic-Car-Maintenance.xctestplan
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"configurations" : [
{
"id" : "08E17716-2F5B-4C05-8BAB-0A770FE99DCF",
"name" : "Test Scheme Action",
"options" : {

}
}
],
"defaultOptions" : {
"commandLineArgumentEntries" : [
{
"argument" : "-FIRAnalyticsDebugEnabled",
"enabled" : false
},
{
"argument" : "-FIRDebugEnabled",
"enabled" : false
}
],
"targetForVariableExpansion" : {
"containerPath" : "container:Basic-Car-Maintenance.xcodeproj",
"identifier" : "FF5D13A22A86C2D600BC9BD6",
"name" : "Basic-Car-Maintenance"
}
},
"testTargets" : [
{
"parallelizable" : true,
"target" : {
"containerPath" : "container:Basic-Car-Maintenance.xcodeproj",
"identifier" : "FF5D13B32A86C2D800BC9BD6",
"name" : "Basic-Car-Maintenance-Tests"
}
},
{
"parallelizable" : true,
"skippedTests" : [
"BasicCarMaintenanceUITests"
],
"target" : {
"containerPath" : "container:Basic-Car-Maintenance.xcodeproj",
"identifier" : "FF5D13BD2A86C2D800BC9BD6",
"name" : "Basic-Car-Maintenance-UITests"
}
}
],
"version" : 1
}

0 comments on commit 60e7ea6

Please sign in to comment.