Skip to content

Commit 0f05d52

Browse files
Add support for JUnit 5.14 (#9664)
1 parent 12a239f commit 0f05d52

File tree

3 files changed

+288
-232
lines changed

3 files changed

+288
-232
lines changed

dd-java-agent/instrumentation/junit/junit-5.3/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ ext {
2626
latestDepTestMinJavaVersionForTests = JavaVersion.VERSION_17
2727
}
2828

29+
addTestSuiteForDir('v513Test', 'test')
2930
addTestSuiteForDir('latest5Test', 'test')
3031
addTestSuiteForDir('latestDepTest', 'test')
3132

@@ -41,6 +42,10 @@ dependencies {
4142
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: libs.versions.junit5.get()
4243
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: libs.versions.junit5.get()
4344

45+
v513TestImplementation group: 'org.junit.platform', name: 'junit-platform-launcher', version: '1.13.0'
46+
v513TestImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.13.0'
47+
v513TestImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: '5.13.0'
48+
4449
latest5TestImplementation group: 'org.junit.platform', name: 'junit-platform-launcher', version: '1.+'
4550
latest5TestImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.+'
4651
latest5TestImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: '5.+'

0 commit comments

Comments
 (0)