Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves Swift Package Manager issue related to swift-snapshot-testing #203

Merged
merged 3 commits into from Feb 28, 2020
Merged

Conversation

ghost
Copy link

@ghost ghost commented Feb 28, 2020

Summary

This pull request proposes a solution for #202, which identified an issue where the framework would fail to build when the package was opened via xed.

Details

  • The root cause of the issue was that some files in the test target referenced SnapshotTesting.
  • Expressing SnapshotTesting as a dependency would require changes to the minimum deployment targets of the framework, and might also required updates to the reference snapshots.
  • This approach excludes the files from the test target that imported SnapshotTesting, allowing the existing minimum deployment targets to be preserved.

Testing

The branch should build & tests should pass.

@codecov
Copy link

codecov bot commented Feb 28, 2020

Codecov Report

Merging #203 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #203   +/-   ##
=======================================
  Coverage   32.59%   32.59%           
=======================================
  Files          74       74           
  Lines        2362     2362           
=======================================
  Hits          770      770           
  Misses       1592     1592

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd1a3f6...fc96357. Read the comment docs.

Copy link
Collaborator

@iwasrobbed iwasrobbed left a comment

Choose a reason for hiding this comment

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

@iwasrobbed iwasrobbed merged commit 907d67c into johnxnguyen:master Feb 28, 2020
@ghost ghost deleted the issue/202-swiftpm-dependency-update branch February 28, 2020 14:58
@ghost ghost mentioned this pull request Mar 3, 2020
regennz pushed a commit to regennz/Down that referenced this pull request Apr 14, 2020
johnxnguyen#203)

* Tidied up some formatting inconsistencies in Package.swift

* Modified SwiftPM testTarget specification to exclude DownSnapshotTests

* Applied some final clarifying changes to Package.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants