Skip to content

chore: Add JUnit XML reporting to veneer test suites using shared require#34740

Open
quartzmo wants to merge 5 commits into
googleapis:mainfrom
quartzmo:junit-shared-helpers
Open

chore: Add JUnit XML reporting to veneer test suites using shared require#34740
quartzmo wants to merge 5 commits into
googleapis:mainfrom
quartzmo:junit-shared-helpers

Conversation

@quartzmo

@quartzmo quartzmo commented Jul 9, 2026

Copy link
Copy Markdown
Member

Write minitest execution output to JUnit XML reports. This enables centralized test result indexing, flake tracing, and build health metrics reporting inside TestGrid dashboards.

…uire

Write minitest execution output to JUnit XML reports. This enables centralized test result indexing, flake tracing, and build health metrics reporting inside TestGrid dashboards.
@quartzmo quartzmo requested review from a team and yoshi-approver as code owners July 9, 2026 19:47
@quartzmo quartzmo force-pushed the junit-shared-helpers branch 2 times, most recently from 5993601 to b78ee85 Compare July 9, 2026 19:54
The inline rescue modifier only catches StandardError. ScriptError and its subclass LoadError must be caught explicitly to prevent the test suite from crashing when the sibling repository is not present or PR 429 has not yet been merged/released.
rescue LoadError
end
end

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.

Related to my other comment googleapis/ruby-common-tools#429 (comment).

Should we need to add minitest-reporters as a dependency so the clean-up is easier afterwards? Approving either way! LGTM

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thank you for catching this, just added Gemfile updates for the veneer clients that were missing them:

fbd521923c (HEAD -> junit-shared-helpers) chore: Add minitest-reporters dependency to remaining veneer Gemfiles
 google-cloud-core/Gemfile            |  1 +
 google-cloud-core/Gemfile.lock       | 11 +++++++++++
 google-cloud-datastore/Gemfile       |  1 +
 google-cloud-dns/Gemfile             |  1 +
 google-cloud-error_reporting/Gemfile |  1 +
 google-cloud-errors/Gemfile          |  1 +
 google-cloud-errors/Gemfile.lock     | 11 +++++++++++
 google-cloud-firestore/Gemfile       |  1 +
 google-cloud-trace/Gemfile           |  1 +
 google-cloud-translate-v2/Gemfile    |  1 +
 stackdriver-core/Gemfile             |  1 +
 11 files changed, 31 insertions(+)

@aandreassa aandreassa 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.

LGTM!!

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