forked from apache/geode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GEODE-4181: Add JUnit 5 Support (apache#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.
- Loading branch information
1 parent
f7cc081
commit d58482b
Showing
12 changed files
with
71 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters