You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 14, 2026. It is now read-only.
Junit 5 provides a lot of new features(namely Precise exception handling, RepeatedTest etc.) that could be useful to us, it requires Java 8 to be the minimum runtime version, now that Java 8 is the minimum supported version for GAPIC, we can follow the migration guide to modernize our testing infra.
We can start with all the handwritten code in this repo, and expand to google-cloud-java and eventually handwritten libraries.
Activity
lqiu96 commentedon Feb 28, 2024
One additional benefit of JUnit 5 from this implementation: #2485
JUnit 4 doesn't have support for setting Environmental Variables inside tests. JUnit 5 has an extension pack which allows setting and clearing the env vars: https://junit-pioneer.org/docs/environment-variables/
[-]Migrate Junit 4 to Junit 5[/-][+]Migrate Junit 4 to Junit 5: gax-java[/+]test: Migrate gax unit tests to Junit 5 (#2724)
test: Migrate gax unit tests to Junit 5 (#2724)