Unit & Integration Testing utilities
@vorburger đang làm issue này rồi.
Từ ngày 27/7/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Java
- Star
- 1.7k
- Fork
- 421
- Merge trung bình
- 3 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 36
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của google/adk-java
-
needs review
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
needs review
-
needs review
-
needs review
-
needs review
Tất cả issue của google/adk-java
Issue tương tự
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
inu-appcenter/memorIN-backend#288 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
frontend maui-pilot pilot-ask question
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Đang mởarea/plugin
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
kestra-io/plugin-kestra#190 ·