Skip to content

Unit & Integration Testing utilities #289

@vorburger

Description

@vorburger

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.

Metadata

Metadata

Assignees

Labels

testingTest utilities, testing infrastructure, code coverage, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions