Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Unit & Integration Testing utilities

未关闭
#289 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@vorburger 已经在做这个了。

开始于 2025年7月27日。

评估

这个 Issue 还没有评估数据。

描述

testing

Unit & Integration testing ADK related code could perhaps benefit from some simple common shared utilities?

This isn't about some sort of full blown "evaluation" toolkit, but just along the lines of "I want to be able to have to write less code to write a simple (integration) test for something like the https://google.github.io/adk-docs/get-started/quickstart/#create-multitoolagentjava".

core/src/test/java/com/google/adk has some utility classes a bit like that. But they are not part of a published Maven artifact, and intended for testing the ADK itself, not for its users.

The RunLoop which is used in the LangChain4jIntegrationTest (from @glaforge) is a similar kind of basically generic utility.

I have started to create more like that here, which can be used e.g. like this.

Is there perhaps any interest in accepting contributions for "upstreaming" (a subset of) that into this repo?

Or maybe I should publish my own "ADK testing library", and it could be linked to?

I'm interested in feedback and thoughts from other ADK users about this.

主要语言
Java
星标
1.7k
派生
421
平均合并
3 天 8 小时
30 天内合并 PR
36

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

google/adk-java 的其他 Issue

查看 google/adk-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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