Skip to content

chore: Update GEMINI.md with test guides#4160

Merged
blakeli0 merged 3 commits intomainfrom
blakeli0-patch-8
Mar 20, 2026
Merged

chore: Update GEMINI.md with test guides#4160
blakeli0 merged 3 commits intomainfrom
blakeli0-patch-8

Conversation

@blakeli0
Copy link
Copy Markdown
Contributor

@blakeli0 blakeli0 commented Mar 20, 2026

Per recent experience, add more examples and guides for testing. Also add guides for creating PRs.

@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Mar 20, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request refines the GEMINI.md documentation to offer more comprehensive guidance on the project's testing strategies and pull request submission process. The updates aim to clarify the purpose and application of different test types, providing practical examples and external references. Additionally, the changes reinforce best practices for contributing by outlining a crucial step for pull request preparation.

Highlights

  • Testing Strategy Documentation: Enhanced the descriptions for "Unit Tests" and "Golden Unit Tests" in GEMINI.md, including a link to best practices for unit testing and an example with detailed steps for golden unit tests.
  • Pull Request Guidelines: Updated the pull request guidelines in GEMINI.md to advise users to pull the latest main branch and resolve any conflicts before creating a new pull request.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@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

This pull request updates the GEMINI.md documentation to enhance the testing strategy section and add a new pull request guideline. The changes include adding a link to unit testing best practices, expanding the description of golden unit tests with an example and detailed steps, and advising users to pull and merge from main before creating a pull request. A review comment suggests a grammatical correction and improved parallel structure for the description of golden unit test steps.

Comment thread GEMINI.md Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@sonarqubecloud
Copy link
Copy Markdown

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@blakeli0 blakeli0 merged commit 8a9a719 into main Mar 20, 2026
56 of 57 checks passed
@blakeli0 blakeli0 deleted the blakeli0-patch-8 branch March 20, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants