

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1# gRPC C++ End-to-End Tests23This directory contains end-to-end tests for the gRPC C++ library.4These tests cover the full gRPC stack,5from the C++ API down to the core transport and back.67## Key Test Files89* **`end2end_test.cc`**: The main end-to-end test suite. It covers basic RPC functionality, cancellation, deadlines, metadata, and various channel/server configurations.10* **`async_end2end_test.cc`**: Tests using the asynchronous C++ API.11* **`client_callback_end2end_test.cc`**: Tests using the callback-based asynchronous API.12* **`generic_end2end_test.cc`**: Tests for the generic (byte-stream) API.13* **`hybrid_end2end_test.cc`**: Tests mixing sync and async APIs.14* **`interceptors_util.{h,cc}`**: Utilities for testing interceptors.15* **`test_service_impl.{h,cc}`**: Implementation of the test service used in many end-to-end tests.1617## Common Patterns1819### Test Scenarios2021Tests often use `::testing::TestWithParam<TestScenario>` to run the same test22logic under different configurations. A `TestScenario` typically includes:2324* **Interceptors**: Whether to use client/server interceptors.25* **Proxy**: Whether to route traffic through a proxy.26* **Inproc**: Whether to use the in-process transport.27* **Credentials**: The type of credentials to use (Insecure, TLS, etc.).28* **Callback Server**: Whether to use the callback-based server API.2930### Service Implementation3132The `TestServiceImpl` class (defined in `test_service_impl.h`) provides a33standard implementation of the `EchoTestService` for use in tests.34It supports features such as:3536* Echoing request messages and metadata.37* Simulating server-side errors.38* Checking for cancellation.3940### Server and Channel Creation4142Tests typically use helper methods like `BuildAndStartServer` and43`ResetChannel`/`ResetStub` to set up the test environment based on the current44`TestScenario` parameters.4546### BUILD File Tags4748In the `BUILD` file, targets intended to be part of the core C++ end-to-end49test suite are typically tagged with `"cpp_end2end_test"`.50Reference for PH2 and cpp_end2end_test : src/core/lib/experiments/experiments.yaml5152We have temporarily used SKIP_TEST_FOR_PH2_CLIENT and SKIP_TEST_FOR_PH2_SERVER53to mark tests that are failing for PH2 experiment, and are WIP.54ETA to finish : 30-Aug-2026. Owner : tjagtap55For more information on PH2 refer file src/core/ext/transport/chttp2/AGENTS.md5657### Retry for PH25859Retries have not yet been implemented for PH2.60Hence, whenever PH2 experiment `IsPh2ClientEnabled()`is61enabled, we must disable retries. This is done with ApplyCommonChannelArguments.62file : test/cpp/end2end/end2end_test_utils.h63
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| grpc/grpcsrc/core/filter/AGENTS.md · 45k | AGENTS.md | no sections | 44/100 | 14 days ago | |
| grpc/grpcsrc/core/credentials/transport/AGENTS.md · 45k | AGENTS.md | security | 39/100 | 14 days ago | |
| grpc/grpcsrc/core/ext/filters/http/AGENTS.md · 45k | AGENTS.md | no sections | 44/100 | 14 days ago | |
| grpc/grpcsrc/core/ext/filters/http/client/AGENTS.md · 45k | AGENTS.md | no sections | 44/100 | 14 days ago | |
| grpc/grpcsrc/core/ext/transport/chaotic_good_legacy/AGENTS.md · 45k | AGENTS.md | no sections | 44/100 | 14 days ago | |
| grpc/grpcsrc/core/ext/transport/inproc/AGENTS.md · 45k | AGENTS.md | no sections | 44/100 | 14 days ago | |
| grpc/grpcsrc/core/lib/event_engine/AGENTS.md · 45k | AGENTS.md | no sections | 44/100 | 14 days ago | |
| grpc/grpcsrc/core/lib/iomgr/AGENTS.md · 45k | AGENTS.md | no sections | 48/100 | 14 days ago | |
| grpc/grpcsrc/core/lib/resource_quota/AGENTS.md · 45k | AGENTS.md | no sections | 48/100 | 14 days ago | |
| grpc/grpcsrc/core/load_balancing/AGENTS.md · 45k | AGENTS.md | no sections | 48/100 | 14 days ago | |
| grpc/grpcsrc/core/resolver/fake/AGENTS.md · 45k | AGENTS.md | no sections | 39/100 | 14 days ago | |
| grpc/grpcsrc/core/lib/promise/AGENTS.md · 45k | AGENTS.md | test | 52/100 | 14 days ago | |
| grpc/grpcAGENTS.md · 45k | AGENTS.md | styledependenciesdo-not | 54/100 | 14 days ago | |
| grpc/grpcsrc/core/AGENTS.md · 45k | AGENTS.md | stylearch | 59/100 | 14 days ago | |
| grpc/grpcsrc/core/call/AGENTS.md · 45k | AGENTS.md | no sections | 48/100 | 14 days ago | |
| grpc/grpcsrc/core/channelz/AGENTS.md · 45k | AGENTS.md | no sections | 44/100 | 14 days ago | |
| grpc/grpcsrc/core/client_channel/AGENTS.md · 45k | AGENTS.md | no sections | 48/100 | 14 days ago | |
| grpc/grpcsrc/core/config/AGENTS.md · 45k | AGENTS.md | no sections | 48/100 | 14 days ago | |
| grpc/grpcsrc/core/ext/filters/backend_metrics/AGENTS.md · 45k | AGENTS.md | no sections | 44/100 | 14 days ago | |
| grpc/grpcsrc/core/ext/filters/census/AGENTS.md · 45k | AGENTS.md | no sections | 25/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 14 days ago | |
| vllm-project/vllmAGENTS.md · 89k | AGENTS.md | setuptestlint-formatstyle+5 | 100/100 | 14 days ago | |
| netdata/netdatasrc/go/plugin/ibm.d/AGENTS.md · 80k | AGENTS.md | buildtestlint-formatarch+3 | 99/100 | today | |
| react/react-nativepackages/react-native-compatibility-check/AGENTS.md · 126k | AGENTS.md | testlint-formatstylearch+4 | 99/100 | 14 days ago | |
| elastic/ml-cppAGENTS.md · 157 | AGENTS.md | buildtestlint-formatstyle+4 | 96/100 | today | |
| duckdb/duckdbAGENTS.md · 40k | AGENTS.md | buildtestlint-formatstyle+8 | 96/100 | 11 days ago | |
| dragonflydb/dragonflyAGENTS.md · 31k | AGENTS.md | setupbuildtestlint-format+10 | 96/100 | 13 days ago | |
| dotnet/aspnetcoresrc/Components/AGENTS.md · 38k | AGENTS.md | buildteststylearch+3 | 96/100 | today |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/grpc-grpc-test-cpp-end2end-agents)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.