He-Pin opened a new pull request, #758:
URL: https://github.com/apache/pekko-grpc/pull/758

   ## Motivation
   JUnit 4 is end-of-life. JUnit 6 unifies version numbering across Platform, 
Jupiter, and Vintage components.
   
   ## Modification
   - Add `sbt-jupiter-interface` plugin (0.19.0) and `JupiterKeys` overrides 
for JUnit Jupiter and Platform 6.1.0
   - Migrate test files (Java, Scala, Groovy) from JUnit 4 to Jupiter:
     - Java: `@Test`, `@Before`/`@After` → `@BeforeEach`/`@AfterEach`, 
`@Ignore` → `@Disabled`
     - Java: `Assert.xxx` → `Assertions.xxx` (message param moves from first to 
last)
     - Java: Remove `extends JUnitSuite` and `@RunWith(JUnit4.class)`
     - Scala: Remove `@RunWith(classOf[JUnitRunner])` from ScalaTest specs
     - Scala: `org.junit.Assert._` → `org.junit.jupiter.api.Assertions._`
     - Groovy: `@Rule TemporaryFolder` → `@TempDir File`
   - Replace `scalatestplus-junit` with Jupiter test dependencies in 
`Dependencies.scala`
   - Update Gradle build files to use JUnit Jupiter 6.1.0 and 
`useJUnitPlatform()`
   - Update `benchmark-java` standalone build to use JUnit Jupiter 6.1.0
   - Update scripted test build and `PekkoGrpcClientTester` to use Jupiter 
assertions
   
   ## Result
   All tests run on JUnit 6.1.0 (Jupiter). JUnit 4 is no longer a test 
dependency.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to