Skip to content

test(api): add missing fluent test builders - #7761

Merged
coryan merged 2 commits into
googleapis:mainfrom
coryan:newtest-fluent-builders
Oct 6, 2026
Merged

coryan merged 2 commits into
googleapis:mainfrom
coryan:newtest-fluent-builders

Conversation

@coryan

@coryan coryan commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Towards #7722

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces several fluent builder methods and test helper constructors in internal/sidekick/api/test.go to simplify test setup, along with comprehensive unit tests in internal/sidekick/api/test_test.go. The feedback suggests modifying the WithFields method on MethodSignature to append fields rather than overwriting them, maintaining consistency with other fluent builders in the package.

Comment thread internal/sidekick/api/test.go
@coryan
coryan marked this pull request as ready for review October 6, 2026 14:31
@coryan
coryan requested review from a team as code owners October 6, 2026 14:31
@coryan
coryan force-pushed the newtest-fluent-builders branch from 36b9960 to d81742f Compare October 6, 2026 17:05
@coryan
coryan enabled auto-merge (squash) October 6, 2026 17:06
@coryan
coryan merged commit b365b0a into googleapis:main Oct 6, 2026
47 checks passed
@coryan
coryan deleted the newtest-fluent-builders branch October 6, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants