add test plan to fixture

This commit is contained in:
yonaskolb 2019-11-10 14:50:56 +11:00
parent d716ffe5d7
commit cb90212641
5 changed files with 55 additions and 2 deletions

View File

@ -8,7 +8,6 @@
/* Begin PBXBuildFile section */
2DA7998902987953B119E4CE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 26F7EFEE613987D1E1258A60 /* AppDelegate.swift */; };
578E78BC3627CF48FB2CE129 /* App.xctestplan in Resources */ = {isa = PBXBuildFile; fileRef = A9601593D0AD02931266A4E5 /* App.xctestplan */; };
78E2E1F9F271C0C4CDA04BD9 /* StaticLibrary.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F7AFEF8ECCC678519EA643C /* StaticLibrary.a */; };
9C4AD0711D706FD3ED0E436D /* StaticLibrary.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61C17B77601A9D1B7895AB42 /* StaticLibrary.swift */; };
CE46CBA5671B951B546C8673 /* Codability in Frameworks */ = {isa = PBXBuildFile; productRef = 16E6FE01D5BD99F78D4A17E2 /* Codability */; };
@ -174,7 +173,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
578E78BC3627CF48FB2CE129 /* App.xctestplan in Resources */,
E368431019ABC696E4FFC0CF /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;

View File

@ -0,0 +1,45 @@
{
"configurations" : [
{
"id" : "AC4AE1EF-F65C-4037-8994-D607D2E5841E",
"name" : "Configuration 1",
"options" : {
}
}
],
"defaultOptions" : {
"commandLineArgumentEntries" : [
{
"argument" : "MyDisabledArgument",
"enabled" : false
},
{
"argument" : "MyEnabledArgument"
}
],
"mainThreadCheckerEnabled" : false,
"targetForVariableExpansion" : {
"containerPath" : "container:Project.xcodeproj",
"identifier" : "0867B0DACEF28C11442DE8F7",
"name" : "App_iOS"
}
},
"testTargets" : [
{
"target" : {
"containerPath" : "container:Project.xcodeproj",
"identifier" : "DC2F16BAA6E13B44AB62F888",
"name" : "App_iOS_Tests"
}
},
{
"target" : {
"containerPath" : "container:Project.xcodeproj",
"identifier" : "F674B2CFC4738EEC49BAD0DA",
"name" : "App_iOS_UITests"
}
}
],
"version" : 1
}

View File

@ -501,6 +501,7 @@
A680BE9F68A255B0FB291AE6 /* App_watchOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App_watchOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
AAA49985DFFE797EE8416887 /* inputList.xcfilelist */ = {isa = PBXFileReference; lastKnownFileType = text.xcfilelist; path = inputList.xcfilelist; sourceTree = "<group>"; };
AB055761199DF36DB0C629A6 /* Framework2.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Framework2.framework; sourceTree = BUILT_PRODUCTS_DIR; };
AEBCA8CFF769189C0D52031E /* App_iOS.xctestplan */ = {isa = PBXFileReference; path = App_iOS.xctestplan; sourceTree = "<group>"; };
B17B8D9C9B391332CD176A35 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LocalizedStoryboard.storyboard; sourceTree = "<group>"; };
B198242976C3395E31FE000A /* MessagesViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessagesViewController.swift; sourceTree = "<group>"; };
B1C33BB070583BE3B0EC0E68 /* App_iOS.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = App_iOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
@ -651,6 +652,7 @@
1F2DE413CF2CB54988158172 /* App */ = {
isa = PBXGroup;
children = (
AEBCA8CFF769189C0D52031E /* App_iOS.xctestplan */,
F0D48A913C087D049C8EDDD7 /* App.entitlements */,
7F1A2F579A6F79C62DDA0571 /* AppDelegate.swift */,
3797E591F302ECC0AA2FC607 /* Assets.xcassets */,

View File

@ -29,6 +29,12 @@
codeCoverageEnabled = "YES"
onlyGenerateCoverageForSpecifiedTargets = "NO"
shouldUseLaunchSchemeArgsEnv = "YES">
<TestPlans>
<TestPlanReference
default = "YES"
reference = "container:App_iOS.xctestplan">
</TestPlanReference>
</TestPlans>
<Testables>
<TestableReference
skipped = "NO">

View File

@ -277,6 +277,8 @@ schemes:
- name: App_iOS_Tests
parallelizable: true
randomExecutionOrder: true
testPlans:
- App_iOS.xctestplan
targetTemplates:
MyTemplate:
scheme: {}