Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/MapboxNavigation.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MapboxCoreNavigationIntegrationTests"
BuildableName = "MapboxCoreNavigationIntegrationTests"
BlueprintName = "MapboxCoreNavigationIntegrationTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
4 changes: 2 additions & 2 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,17 @@ let package = Package(
"__Snapshots__", // Ignore snapshots folder
]
),
.testTarget(
name: "MapboxCoreNavigationIntegrationTests",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When added as a test target, these tests will be run as a part of required job, as a MapboxNavigation-Package step

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes thank you, that was my intention. On our side we are mocking the network.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discussed in chat - some tests, might be flaky, let's see on a couple of runs how it acts.

dependencies: [
"MapboxNavigation",
"MapboxCoreNavigation",
"TestHelper",
"OHHTTPStubs",
],
exclude: [
"Info.plist",
]
),
]
)
Loading