Skip to content

Commit

Permalink
Upgrade JUnit to 5.10.0 / JUnit Platform to 1.10.0
Browse files Browse the repository at this point in the history
The new `getAncestors()` method in `TestDescriptor` (https://junit.org/junit5/docs/5.10.0/release-notes/)
is obviously not available in
```
com.tngtech.archunit.junit.internal.AbstractArchUnitTestDescriptor extends org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
```
from `org.junit.platform:junit-platform-engine:1.9.x`.

Solves #1157

Signed-off-by: Manfred Hanke <[email protected]>
  • Loading branch information
hankem committed Aug 25, 2023
1 parent 0e90343 commit 47d9cd1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ ext {
log4j_slf4j : [group: 'org.apache.logging.log4j', name: 'log4j-slf4j2-impl', version: '2.20.0'],

junit4 : [group: 'junit', name: 'junit', version: '4.13.2'],
junit5JupiterApi : [group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.9.2'],
junit5JupiterEngine : [group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.9.2'],
junit5VintageEngine : [group: 'org.junit.vintage', name: 'junit-vintage-engine', version: '5.9.2'],
junitPlatform : [group: 'org.junit.platform', name: 'junit-platform-runner', version: '1.9.2'],
junitPlatformCommons: [group: 'org.junit.platform', name: 'junit-platform-commons', version: '1.9.2'],
junitPlatformEngine : [group: 'org.junit.platform', name: 'junit-platform-engine', version: '1.9.2'],
junit5JupiterApi : [group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0'],
junit5JupiterEngine : [group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0'],
junit5VintageEngine : [group: 'org.junit.vintage', name: 'junit-vintage-engine', version: '5.10.0'],
junitPlatform : [group: 'org.junit.platform', name: 'junit-platform-runner', version: '1.10.0'],
junitPlatformCommons: [group: 'org.junit.platform', name: 'junit-platform-commons', version: '1.10.0'],
junitPlatformEngine : [group: 'org.junit.platform', name: 'junit-platform-engine', version: '1.10.0'],
hamcrest : [group: 'org.hamcrest', name: 'hamcrest-core', version: '1.3'],
junit_dataprovider : [group: 'com.tngtech.java', name: 'junit-dataprovider', version: '1.11.0'],
mockito : [group: 'org.mockito', name: 'mockito-core', version: '4.6.1'],
Expand Down

0 comments on commit 47d9cd1

Please sign in to comment.