Skip to content

Commit 1431770

Browse files
committed
Fix to gradle to run ParameterizedTests
1 parent a8f59bf commit 1431770

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ subprojects {
7575
events "failed"
7676
exceptionFormat "full"
7777
}
78+
useJUnitPlatform()
7879
}
7980

8081

cli/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ dependencies {
3737

3838
testImplementation 'org.jetbrains.kotlin:kotlin-test'
3939
testImplementation 'pl.pragmatists:JUnitParams:[1.0.0,1.1.0)'
40+
41+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
4042
}
4143

4244
jacocoTestReport {

examples/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ dependencies {
3131

3232
implementation 'org.jetbrains.kotlin:kotlin-test'
3333
implementation 'junit:junit:4.12'
34+
35+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
3436
}
3537

3638
jacocoTestReport {

pts/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ dependencies {
4141
testImplementation 'org.assertj:assertj-core:[3.11.0,3.12.0)'
4242
testImplementation project(':lang')
4343
testImplementation project(':testscript')
44+
45+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
4446
}
4547

4648
jacocoTestReport {

testscript/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ dependencies {
1717

1818
testImplementation 'com.amazon.ion:ion-kotlin-builder:1.0.1'
1919

20-
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.3.1"
21-
}
22-
23-
test {
24-
useJUnitPlatform()
20+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
2521
}
2622

2723
compileKotlin {

0 commit comments

Comments
 (0)