googleapis / googleapis/google-cloud-java

[sdk-platform-java] Unable to test end to end configuration options

未关闭
#12,549 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: feature request
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
157

描述

Code that glues ClientSettings to the ClientContext is generated by gapic generator making it difficult to test that configuration options make it to the transport layer.

Can we generate a test client where we can mock out the transport for testing purposes?

贡献指南

打开贡献指南

调研方向

首先定位 sdk-platform-java 中将 ClientSettings 连接到 ClientContext 的 gapic 生成器代码,然后跟踪传输层的生成方式。定义生成的测试客户端的传输模拟接缝,并验证配置选项能够传递到模拟传输;当端到端测试无需真实传输即可测试这些选项时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
testing
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。