diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-30 13:25:02 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-30 14:55:16 +0200 |
commit | 0a2e62ac839f15939e61de990e57307658f69832 (patch) | |
tree | 4d2718cfc81d4d2910c0b7fc3787d86de126fd02 /integration-tests/build.gradle.kts | |
parent | b593337bc686a942c36a7effd61e00ace388567b (diff) | |
download | dokka-0a2e62ac839f15939e61de990e57307658f69832.tar.gz dokka-0a2e62ac839f15939e61de990e57307658f69832.tar.bz2 dokka-0a2e62ac839f15939e61de990e57307658f69832.zip |
Implement `TestEnvironment` and `exhaustive` APIs for Gradle integration tests
Diffstat (limited to 'integration-tests/build.gradle.kts')
-rw-r--r-- | integration-tests/build.gradle.kts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/integration-tests/build.gradle.kts b/integration-tests/build.gradle.kts index 9b7bc435..86472aa9 100644 --- a/integration-tests/build.gradle.kts +++ b/integration-tests/build.gradle.kts @@ -22,15 +22,23 @@ subprojects { maxHeapSize = "2G" description = "Runs integration tests." group = "verification" + useJUnit() + testClassesDirs = sourceSets["integrationTest"].output.classesDirs classpath = sourceSets["integrationTest"].runtimeClasspath + setForkEvery(1) project.properties["dokka_integration_test_parallelism"]?.toString()?.toIntOrNull()?.let { parallelism -> maxParallelForks = parallelism } + environment( + "isExhaustive", + project.properties["dokka_integration_test_is_exhaustive"]?.toString()?.toBoolean() + ?: System.getenv("DOKKA_INTEGRATION_TEST_IS_EXHAUSTIVE")?.toBoolean() + ?: false.toString() + ) - useJUnit() } tasks.check { |