Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vertex AI] Swift Testing generateContentStream integration test #14611

Merged
merged 4 commits into from
Mar 25, 2025

Conversation

andrewheard
Copy link
Contributor

Migrated the testGenerateContentStream and testGenerateContent_appCheckNotConfigured_shouldFail integration tests from XCTest to Swift Testing (in GenerateContentIntegrationTests) and parameterized them to run on all of their supported backend APIs.

#no-changelog

This comment was marked as resolved.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request migrates and parameterizes generateContentStream and testGenerateContent_appCheckNotConfigured_shouldFail integration tests to Swift Testing. The changes look good overall, with improvements in test organization and coverage. Here are a few suggestions for improvement.

Merge Readiness

The code changes are well-structured and improve the test suite. I recommend addressing the minor suggestions provided in the review comments. I am unable to directly approve this pull request, and recommend that others review and approve this code before merging.

@andrewheard andrewheard force-pushed the ah/vertex-gen-stream-integration branch from c5d2164 to 3d08322 Compare March 24, 2025 23:07
@andrewheard andrewheard marked this pull request as ready for review March 24, 2025 23:08
Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on green

@andrewheard andrewheard merged commit 6191e9d into main Mar 25, 2025
37 checks passed
@andrewheard andrewheard deleted the ah/vertex-gen-stream-integration branch March 25, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants