From ceaf3d306500e1483e3f3852afc5832a0ce67a04 Mon Sep 17 00:00:00 2001 From: Alexey Tsvetkov Date: Wed, 17 Feb 2021 11:16:27 +0300 Subject: [PATCH] Enable verbose logging for tests --- .../test/kotlin/org/jetbrains/compose/test/TestProject.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/TestProject.kt b/gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/TestProject.kt index 7be1753b42..59f420ef39 100644 --- a/gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/TestProject.kt +++ b/gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/TestProject.kt @@ -1,13 +1,17 @@ package org.jetbrains.compose.test import org.gradle.testkit.runner.GradleRunner +import org.jetbrains.compose.desktop.application.internal.ComposeProperties import java.io.File data class TestProject( private val name: String, private val workingDir: File ) { - private val additionalArgs = listOf("--stacktrace") + private val additionalArgs = listOf( + "--stacktrace", + "-P${ComposeProperties.VERBOSE}=true" + ) init { val originalTestRoot = File("src/test/test-projects").resolve(name).also {