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

Update ios_ui_test section to have test_host to be required #2474

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ssarad
Copy link
Contributor

@ssarad ssarad commented Jun 20, 2024

ios_ui_test needs a test_host as part of a required parameter. The docs mention it as optional however it is a required param

https://github.com/bazel-ios/rules_ios/blob/master/rules/test.bzl#L273

`ios_ui_test needs` a test_host as part of a required parameter. The docs mention it as optional however it is a required param

https://github.com/bazel-ios/rules_ios/blob/master/rules/test.bzl#L273
@@ -598,7 +598,7 @@ of the attributes inherited by all test rules, please check the
| <a id="ios_ui_test-runner"></a>runner | The runner target that will provide the logic on how to run the tests. Needs to provide the AppleTestRunnerInfo provider. | <a href="https://bazel.build/concepts/labels">Label</a> | required | |
| <a id="ios_ui_test-test_coverage_manifest"></a>test_coverage_manifest | A file that will be used in lcov export calls to limit the scope of files instrumented with coverage. | <a href="https://bazel.build/concepts/labels">Label</a> | optional | `None` |
| <a id="ios_ui_test-test_filter"></a>test_filter | Test filter string that will be passed into the test runner to select which tests will run. | String | optional | `""` |
| <a id="ios_ui_test-test_host"></a>test_host | - | <a href="https://bazel.build/concepts/labels">Label</a> | optional | `None` |
| <a id="ios_ui_test-test_host"></a>test_host | - | <a href="https://bazel.build/concepts/labels">Label</a> | required | `None` |
Copy link
Contributor

Choose a reason for hiding this comment

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

We'd have to update the rule attr as well which I believe is shared with the other iOS test rules.

Maybe we could override this attr in the ui test rule so it can have its own documentation

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