grpc / grpc/grpc-ios

Reuse C-Core's unit test logic in iOS test

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
area/c-core kind/test
Dominant language
C
Stars
61
Forks
26
Avg merge
1d 13h
Merged PRs (30d)
11

Description

Look at how we can have better reuse of existing test logic from c-core. In [Event Engine test](https://github.com/grpc/grpc/tree/master/test/core/event_engine), for example, one possibility is to expose its test util via test-only public headers and call from iOS test. Some of these might not be possible as they are based on gtest.

An existing similar example is our current [Cronet's end2end test setup ](https://github.com/grpc/grpc/blob/master/src/objective-c/tests/CronetTests/CoreCronetEnd2EndTests.mm)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the Event Engine tests under test/core/event_engine and the existing setup in src/objective-c/tests/CronetTests/CoreCronetEnd2EndTests.mm. Determine which C-core test utilities can be exposed through test-only public headers and used by iOS tests despite gtest dependencies. Done means selected existing test logic is reused by the iOS test setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, ios, objective-c
Domain
mobile-dev, testing-qa
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.