Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,9 @@ subprojects {
finalizedBy("copyTestXml")
}

task integrationTest(type: Test, dependsOn: compileJava) {
tasks.register('integrationTest', Test) {
dependsOn(tasks.compileJava)

maxParallelForks = maxTestForks
ignoreFailures = userIgnoreFailures

Expand Down Expand Up @@ -634,7 +636,9 @@ subprojects {
}
}

task unitTest(type: Test, dependsOn: compileJava) {
tasks.register('unitTest', Test) {
dependsOn(tasks.compileJava)

maxParallelForks = maxTestForks
ignoreFailures = userIgnoreFailures

Expand Down Expand Up @@ -664,6 +668,17 @@ subprojects {
}
}

testing {
suites {
test {
targets {
integrationTest
unitTest
}
}
}
}

// remove test output from all test types
tasks.withType(Test).all { t ->
cleanTest {
Expand Down