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

Added Concurrency Testing #160

Merged
merged 3 commits into from
Oct 3, 2022
Merged

Added Concurrency Testing #160

merged 3 commits into from
Oct 3, 2022

Conversation

mjohnson12
Copy link
Collaborator

Checklist

  • Unit Tests
  • UI Tests
  • Snapshot Tests (iOS only)
  • I have made corresponding changes to the documentation

@mjohnson12 mjohnson12 requested a review from a team October 3, 2022 15:21
@@ -12,6 +12,7 @@ import WorkflowTesting
import XCTest
@testable import WorkflowCombineTesting

@available(iOS 13.0, macOS 10.15, *)
Copy link
Contributor

Choose a reason for hiding this comment

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

why were all these availability annotations needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I added the testing target for those to the package and because the package is iOS 12+ right now. You can't set minimum OS targets for products only packages unfortunately.

Comment on lines +185 to +191
# s.test_spec 'WorkflowConcurrencyTestingTests' do |test_spec|
# test_spec.requires_app_host = true
# test_spec.source_files = 'WorkflowConcurrency/TestingTests/**/*.swift'
# test_spec.framework = 'XCTest'
# test_spec.dependency 'WorkflowTesting'
# test_spec.dependency 'WorkflowConcurrencyTesting'
# end
Copy link

Choose a reason for hiding this comment

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

Do we need to add this if it's disabled?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's added so when we switch the minimum OS to higher than 12 we just uncomment so we don't forget to add that target.

Copy link
Contributor

@jamieQ jamieQ left a comment

Choose a reason for hiding this comment

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

lgtm. just had one thought about unifying naming conventions

@mjohnson12 mjohnson12 merged commit 998c080 into main Oct 3, 2022
@mjohnson12 mjohnson12 deleted the markj/concurrency-testing branch October 3, 2022 17:33
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.

3 participants