googleapis / googleapis/google-cloud-java

[sdk-platform-java] (generator) test setup generates samples and produces golden files not used in tests

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

描述

Current test setup are generating samples and it produces a bunch of golden files that are not used in test asserts. We should investigate and stop generate these if not used.

context: https://github.com/googleapis/sdk-platform-java/pull/3730#discussion_r2039729922

贡献指南

打开贡献指南

调研方向

检查 sdk-platform-java 生成器的测试设置以及 issue 中链接的讨论。确定哪些生成的样本和 golden files 未被测试断言使用,然后验证移除它们的生成后,测试仍能在没有这些未使用工件的情况下通过。

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

评估

技术栈
java
领域
testing, tooling
Issue 类型
重构
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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