grpc / grpc-ios

gRPC for iOS
Apache License 2.0
39 stars 22 forks source link

Update gRPC ObjC test script to support structured test results in kokoro UI #77

Open dennycd opened 2 years ago

dennycd commented 2 years ago

Update bazel-based gRPC ObjC test to support generating structured test logs that can be rendered by kokoro UI. Specifically, look into existing c++'s bazel test scripts examples

Prior PR for structured test results at


@HannahShiSFB @jtattermusch

jtattermusch commented 2 years ago

For the grpc_objc_bazel_test (here), the structured test results are already being produced:

the problem is that the granularity of the objC bazel test targets is currently very coarse (we only have a handful of high-level targets , e.g. //src/objective-c/tests:MacTests or //src/objective-c/tests:UnitTests, which will make our flakiness insight much less useful than they could be.

@dennycd is there a way in which we can increase the granularity of the test targets?