grpc-ios icon indicating copy to clipboard operation
grpc-ios copied to clipboard

Setup ios bazel test to run c-core's existing event_engine unit test

Open dennycd opened this issue 3 years ago • 0 comments

Setup bazel ios_unit_test and test against C-core's existing event engine test suite

Existing c-core unit test on iOS is done via the following bazel rule

on iOS/Mac, we run the following script to trigger bazel test on kokoro CI

This is test against all ios_unit_test targets under //test/cpp. We can setup a similar structure for event engine test target

  • https://github.com/grpc/grpc/blob/master/test/core/event_engine/BUILD#L21

Sample instruction to run bazel ios test in command line

tools/bazel query "kind(ios_unit_test, tests(//test/core/event_engine/...))" 

tools/bazel test --test_summary=detailed --test_output=all //test/core/event_engine:endpoint_config_test_on_ios 

dennycd avatar Oct 15 '21 23:10 dennycd