Browse Source

Enable verbose logging for tests

pull/397/head
Alexey Tsvetkov 4 years ago committed by Alexey Tsvetkov
parent
commit
ceaf3d3065
  1. 6
      gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/TestProject.kt

6
gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/TestProject.kt

@ -1,13 +1,17 @@
package org.jetbrains.compose.test package org.jetbrains.compose.test
import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.GradleRunner
import org.jetbrains.compose.desktop.application.internal.ComposeProperties
import java.io.File import java.io.File
data class TestProject( data class TestProject(
private val name: String, private val name: String,
private val workingDir: File private val workingDir: File
) { ) {
private val additionalArgs = listOf("--stacktrace") private val additionalArgs = listOf(
"--stacktrace",
"-P${ComposeProperties.VERBOSE}=true"
)
init { init {
val originalTestRoot = File("src/test/test-projects").resolve(name).also { val originalTestRoot = File("src/test/test-projects").resolve(name).also {

Loading…
Cancel
Save