Migrate Junit 4 to Junit 5: java-core #2726
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: cleanup
An internal cleanup or hygiene concern.
See this doc for important differences and benefits of Junit 5.
See the official doc from Junit5 for migration tips.
In general, for each and every unit test
org.junit.Assert.assertEquals
withorg.junit.jupiter.api.Assertions.assertEquals
.@Before
with@BeforeEach
@Test(expected = …)
withassertThrows
.See example PR that adds Junit 5 dependencies to gax-java and migrates one test to Junit5.
The text was updated successfully, but these errors were encountered: