[ https://issues.apache.org/jira/browse/GEODE-4181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17394333#comment-17394333 ]
ASF subversion and git services commented on GEODE-4181: -------------------------------------------------------- Commit d58482bed05e70eb848c9586df173d54e55193e5 in geode's branch refs/heads/develop from Dale Emery [ https://gitbox.apache.org/repos/asf?p=geode.git;h=d58482b ] GEODE-4181: Add JUnit 5 Support (#6740) Added JUnit 5 support to all Geode projects that use `geode-junit`. STANDARD TEST TASKS Updated **./gradle/test.gradle** to configure these standard test tasks to use JUnit Platform to run tests: - `test` and `repeatUnitTest` - `acceptanceTest` and `repeatAcceptanceTest` - `distributedTest` and `repeatDistributedTest` - `integrationTest` and `repeatIntegrationTest` - `performanceTest` - `uiTest` - `upgradeTest` and `repeatUpgradeTest` STANDARD TEST MODULES Updated **./geode-junit/build.gradle**: - Added `junit-jupiter-api` and `junit-jupiter-params` as API dependencies. - Added `junit-jupiter-engine` and `junit-vintage-engine` as implementation dependencies. These changes add JUnit 5 support to any source set that depends on `geode-junit`, either directly or via `geode-dunit`. OTHER PROJECTS Added `junit-vintage-engine` dependency directly to each project that runs tests without `geode-junit` or `geode-dunit`: - `geode-common` - `geode-concurrency-test` - `geode-jmh` - `geode-modules` - `geode-rebalancer` - `static-analysis:pmd-rules` These changes **do not** add JUnit 5 support to these projects. Developers who want JUnit 5 support in these projects can declare dependencies on `junit-jupiter-api`, `junit-jupiter-params`, and `junit-jupiter-engine`. SPECIFIC TESTS Change `ConcurrencyRuleTest` to expect the exception types and exception messages thrown by AssertJ when `opentest4j` is on the classpath. > Update to JUnit 5.x > ------------------- > > Key: GEODE-4181 > URL: https://issues.apache.org/jira/browse/GEODE-4181 > Project: Geode > Issue Type: Improvement > Components: general, tests > Reporter: Patrick Rhomberg > Assignee: Dale Emery > Priority: Major > Labels: GeodeOperationAPI, pull-request-available > > In addition to the expected benefits that come with new versions, updating to > JUnit 5.x should allow us to remove the workaround required in GEODE-1350 / > GEODE-4122. > If migration guides are to be believed, migration from JUnit 4.x to 5.x in > and of itself should not be difficult. However, interaction with Mockito and > PowerMock appears to be significantly different and will require > investigation. -- This message was sent by Atlassian Jira (v8.3.4#803005)