[test] Migrate from trybuild to ui-test#2986
[test] Migrate from trybuild to ui-test#2986joshlf wants to merge 1 commit intoG793f61a136b912fbd5ee4315cdea7cf3cf3cf8fbfrom
Conversation
Summary of ChangesHello @joshlf, 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 significantly refactors the project's UI testing setup by switching from Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe 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
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 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. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request migrates the UI testing framework from trybuild to ui-test, which is a great improvement for handling toolchain-specific test outputs. The changes look mostly correct, with a new test runner and reorganized test files. However, I've noticed a high-severity issue: the new .stderr files contain absolute local paths, which will break the build in CI and for other developers. These paths need to be normalized. I've also found some minor dead code in the new test harness. Please see my detailed comments.
0119dfe to
d817b95
Compare
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request migrates the UI testing framework from trybuild to a custom solution, which is a great improvement for testing across different Rust toolchains. The changes are mostly mechanical and look good. I've found a potential issue in the Cargo.toml workspace configuration and have a few other suggestions for improving code clarity and maintainability.
599c468 to
53d3f4e
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## G793f61a136b912fbd5ee4315cdea7cf3cf3cf8fb #2986 +/- ##
==========================================================================
Coverage 91.87% 91.87%
==========================================================================
Files 20 20
Lines 6057 6057
==========================================================================
Hits 5565 5565
Misses 492 492 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8c3ecbf to
2c2eb9d
Compare
Closes #187 gherrit-pr-id: Gbc6b00b4dee88c0d25be0b277998861157eccda7
7e5f696 to
e5c4b11
Compare
2c2eb9d to
f17e706
Compare
Closes #187
impl_or_verify!tests todoctests#2988RUSTDOCFLAGS#2987Latest Update: v16 — Compare vs v15
📚 Full Patch History
Links show the diff between the row version and the column version.
⬇️ Download this PR
Branch
git fetch origin refs/heads/Gbc6b00b4dee88c0d25be0b277998861157eccda7 && git checkout -b pr-Gbc6b00b4dee88c0d25be0b277998861157eccda7 FETCH_HEADCheckout
git fetch origin refs/heads/Gbc6b00b4dee88c0d25be0b277998861157eccda7 && git checkout FETCH_HEADCherry Pick
git fetch origin refs/heads/Gbc6b00b4dee88c0d25be0b277998861157eccda7 && git cherry-pick FETCH_HEADPull
Stacked PRs enabled by GHerrit.