Skip to content

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
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.

4 participants