Skip to content

Conversation

@luispadron
Copy link
Collaborator

Summary

If a user were to pass testonly to a ios_unit_test target then it fails with duplicate kwargs error due to testonly = True being hardcoded in the rules.

This updates the rules to default to true for testonly file removing the testonly arg from kwargs to resolve the duplicate kwargs error.

Related change: bazel-ios/cocoapods-bazel#82

Copy link
Contributor

@jerrymarino jerrymarino left a comment

Choose a reason for hiding this comment

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

@luispadron LGTM overall and something we'd want even if we work towards other improvements / back port injecting the missing XCTest paths automatically

@luispadron luispadron enabled auto-merge (squash) November 18, 2022 22:54
@luispadron luispadron merged commit 20430a8 into master Nov 18, 2022
@luispadron luispadron deleted the lpadron/fix-test-only-duplicate-kwargs branch November 18, 2022 23:09
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