Skip to content

Commit f792051

Browse files
committed
Migrate to JUnit 6.0.0
- Upgrade org.junit.jupiter:junit-jupiter from 5.13.4 to 6.0.0 - Update CHANGELOG.md with migration notes and backward compatibility information - Add note that projects using jPowerMonitor can continue to use JUnit 5.x - JUnit Jupiter Extension API remains compatible with JUnit 5.x
1 parent 1629afc commit f792051

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
- upgrade com.fasterxml.jackson.datatype.jackson-datatype-jsr310 to 2.20.0
1111
- upgrade org.apache.httpcomponents.client5:httpclient5 to 5.5.1
1212
- upgrade org.jetbrains:annotations to 26.0.2-1
13-
- upgrade org.junit.jupiter:junit-jupiter to 5.13.4
13+
- upgrade org.junit.jupiter:junit-jupiter to 6.0.0 (JUnit 6 migration)
1414
- upgrade org.assertj:assertj-core to 3.27.6
1515
- upgrade org.yaml:snakeyaml to 2.5
1616
- upgrade gradle to 9.1.0
1717
- upgrade com.gradleup.shadow plugin to 9.2.2 (for Gradle 9.x compatibility)
1818
- Require JDK 17 now, as many libraries do require JDK 17 or higher
19+
- Migrated to JUnit 6.0.0 (released September 30, 2025)
20+
- Note: Projects using jPowerMonitor can continue to use JUnit 5.x due to backward compatibility of the JUnit Jupiter Extension API
1921

2022
## 2025-05-12 - release 1.2.2
2123
- dependency updates:

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ dependencies {
5555
)
5656
compileOnly(
5757
'org.jetbrains:annotations:26.0.2-1',
58-
'org.junit.jupiter:junit-jupiter:5.13.4'
58+
'org.junit.jupiter:junit-jupiter:6.0.0'
5959
)
6060
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
6161
testImplementation(
6262
// use logger only in test implementation in order to have a minimal set of dependencies in main source
6363
'org.slf4j:slf4j-simple:2.0.17',
64-
'org.junit.jupiter:junit-jupiter:5.13.4',
64+
'org.junit.jupiter:junit-jupiter:6.0.0',
6565
'org.assertj:assertj-core:3.27.6'
6666
)
6767
}

0 commit comments

Comments
 (0)