Skip to content

Commit

Permalink
feat(New Ci): Fix Tests ✏️
Browse files Browse the repository at this point in the history
  • Loading branch information
math-gois committed Jun 6, 2024
1 parent 84898b9 commit 6543443
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 11 deletions.
2 changes: 2 additions & 0 deletions Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
2EC7DFC72C1267F1005E58DF /* ViewModel.Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewModel.Tests.swift; sourceTree = "<group>"; };
2EC7DFC82C1267F1005E58DF /* Tests+Helpers.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Tests+Helpers.swift"; sourceTree = "<group>"; };
2EC7DFD12C12685B005E58DF /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
2EC7DFDC2C126E7E005E58DF /* Tests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = Tests.xctestplan; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -110,6 +111,7 @@
2EC7DFD22C12685B005E58DF /* Tests */ = {
isa = PBXGroup;
children = (
2EC7DFDC2C126E7E005E58DF /* Tests.xctestplan */,
2EC7DFC72C1267F1005E58DF /* ViewModel.Tests.swift */,
2EC7DFC82C1267F1005E58DF /* Tests+Helpers.swift */,
);
Expand Down
Binary file not shown.
20 changes: 9 additions & 11 deletions Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,6 @@
ReferencedContainer = "container:Example.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2E0B58D72BC046CE00049F34"
BuildableName = "Tests-CIUITests.xctest"
BlueprintName = "Tests-CIUITests"
ReferencedContainer = "container:Example.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO"
parallelizable = "YES">
Expand Down Expand Up @@ -97,6 +86,15 @@
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2E0B58BA2BC046CC00049F34"
BuildableName = "Example.app"
BlueprintName = "Example"
ReferencedContainer = "container:Example.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
24 changes: 24 additions & 0 deletions Tests/Tests.xctestplan
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"configurations" : [
{
"id" : "04818F94-946F-41C2-BFA3-E1F62E2065EE",
"name" : "Configuration 1",
"options" : {

}
}
],
"defaultOptions" : {

},
"testTargets" : [
{
"target" : {
"containerPath" : "container:Example.xcodeproj",
"identifier" : "2EC7DFD02C12685B005E58DF",
"name" : "Tests"
}
}
],
"version" : 1
}

0 comments on commit 6543443

Please sign in to comment.