Skip to content

Commit

Permalink
Fix to gradle to run ParameterizedTests
Browse files Browse the repository at this point in the history
  • Loading branch information
alancai98 committed Dec 8, 2020
1 parent a8f59bf commit 1431770
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ subprojects {
events "failed"
exceptionFormat "full"
}
useJUnitPlatform()
}


Expand Down
2 changes: 2 additions & 0 deletions cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ dependencies {

testImplementation 'org.jetbrains.kotlin:kotlin-test'
testImplementation 'pl.pragmatists:JUnitParams:[1.0.0,1.1.0)'

testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}

jacocoTestReport {
Expand Down
2 changes: 2 additions & 0 deletions examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ dependencies {

implementation 'org.jetbrains.kotlin:kotlin-test'
implementation 'junit:junit:4.12'

testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}

jacocoTestReport {
Expand Down
2 changes: 2 additions & 0 deletions pts/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ dependencies {
testImplementation 'org.assertj:assertj-core:[3.11.0,3.12.0)'
testImplementation project(':lang')
testImplementation project(':testscript')

testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}

jacocoTestReport {
Expand Down
6 changes: 1 addition & 5 deletions testscript/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ dependencies {

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

testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.3.1"
}

test {
useJUnitPlatform()
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}

compileKotlin {
Expand Down

0 comments on commit 1431770

Please sign in to comment.