feat: add Agent Studio test case resource support#165
Open
Ruari-Phipps wants to merge 9 commits into
Open
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Contributor
Coverage Report
Changed file coverage
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds local ADK support for Agent Studio test cases, including YAML resources under
test_suite/, protobuf sync commands, pull/push integration, documentation, and unit tests.Motivation
Agent Studio now supports simulated conversation tests with prompt and function-call assertions. The ADK needs to read, write, validate, and sync these resources locally so projects can manage tests alongside other agent configuration.
Changes
TestCase,TestCaseAssertion,TestCaseTags, and function-call assertion types insrc/poly/resources/test_suite.pytesting_pb2) and command types for create/update/delete/assertions/tagstests.mddocumentation and link it from the main docs indexresources_test.pyand project discovery coverage inproject_test.pytest_suite/greeting_flow_test.yaml,test_suite/webchat_smoke_test.yaml)__test__ = Falseon resource classes to avoid pytest collection warningslanguageagainst configured project languages (default + additional)Test strategy
poly <command>)Checklist
ruff check .andruff format --check .passpytestpassespolyCLI interface (or migration path documented)Screenshots / Logs