-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this 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.
FirebaseVertexAI/Tests/TestApp/Tests/Integration/GenerateContentIntegrationTests.swift
Show resolved
Hide resolved
FirebaseVertexAI/Tests/TestApp/Tests/Integration/GenerateContentIntegrationTests.swift
Show resolved
Hide resolved
FirebaseVertexAI/Tests/TestApp/Tests/Integration/GenerateContentIntegrationTests.swift
Show resolved
Hide resolved
c5d2164
to
3d08322
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM on green
Migrated the
testGenerateContentStream
andtestGenerateContent_appCheckNotConfigured_shouldFail
integration tests fromXCTest
to Swift Testing (inGenerateContentIntegrationTests
) and parameterized them to run on all of their supported backend APIs.#no-changelog