mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-01 09:40:15 +01:00
The bisq.java-integration-tests plugin creates an integrationTest source set that depends on JUnit. The source set inherits the main source set's compile classpath, runtime classpath, and the implementation's source set configuration and runtimeOnly configuration.
26 lines
645 B
Groovy
26 lines
645 B
Groovy
sourceSets {
|
|
integrationTest {
|
|
compileClasspath += sourceSets.main.output
|
|
runtimeClasspath += sourceSets.main.output
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
integrationTestImplementation.extendsFrom implementation
|
|
integrationTestRuntimeOnly.extendsFrom runtimeOnly
|
|
}
|
|
|
|
dependencies {
|
|
integrationTestImplementation libs.junit.jupiter
|
|
}
|
|
|
|
tasks.register('integrationTest', Test) {
|
|
description = 'Runs integration tests.'
|
|
group = 'verification'
|
|
|
|
testClassesDirs = sourceSets.integrationTest.output.classesDirs
|
|
classpath = sourceSets.integrationTest.runtimeClasspath
|
|
shouldRunAfter test
|
|
|
|
useJUnitPlatform()
|
|
}
|