mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-05-08 15:51:08 +00:00
[web] Common config for printing test results to STDOUT
This commit is contained in:
@@ -8,7 +8,6 @@ kotlin {
|
||||
js(IR) {
|
||||
browser() {
|
||||
testTask {
|
||||
testLogging.showStandardStreams = true
|
||||
useKarma {
|
||||
useChromeHeadless()
|
||||
//useFirefox()
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
import org.gradle.api.tasks.testing.AbstractTestTask
|
||||
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
|
||||
|
||||
val COMPOSE_CORE_VERSION: String by project
|
||||
val COMPOSE_WEB_VERSION: String by project
|
||||
val COMPOSE_REPO_USERNAME: String? by project
|
||||
@@ -96,5 +99,14 @@ subprojects {
|
||||
}
|
||||
google()
|
||||
}
|
||||
|
||||
tasks.withType<AbstractTestTask> {
|
||||
testLogging {
|
||||
events("FAILED")
|
||||
exceptionFormat = TestExceptionFormat.FULL
|
||||
showStandardStreams = true
|
||||
showStackTraces = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ kotlin {
|
||||
js(IR) {
|
||||
browser() {
|
||||
testTask {
|
||||
testLogging.showStandardStreams = true
|
||||
useKarma {
|
||||
useChromeHeadless()
|
||||
useFirefox()
|
||||
|
||||
@@ -9,7 +9,6 @@ kotlin {
|
||||
js(IR) {
|
||||
browser() {
|
||||
testTask {
|
||||
testLogging.showStandardStreams = true
|
||||
useKarma {
|
||||
useChromeHeadless()
|
||||
//useFirefox()
|
||||
|
||||
@@ -6,8 +6,6 @@ plugins {
|
||||
kotlin {
|
||||
jvm {
|
||||
tasks.named<Test>("jvmTest") {
|
||||
testLogging.showStandardStreams = true
|
||||
|
||||
useJUnitPlatform()
|
||||
|
||||
systemProperty(
|
||||
@@ -20,7 +18,6 @@ kotlin {
|
||||
js(IR) {
|
||||
browser() {
|
||||
testTask {
|
||||
testLogging.showStandardStreams = true
|
||||
useKarma {
|
||||
useChromeHeadless()
|
||||
useFirefox()
|
||||
|
||||
@@ -8,7 +8,6 @@ kotlin {
|
||||
js(IR) {
|
||||
browser() {
|
||||
testTask {
|
||||
testLogging.showStandardStreams = true
|
||||
useKarma {
|
||||
useChromeHeadless()
|
||||
useFirefox()
|
||||
|
||||
@@ -8,7 +8,6 @@ kotlin {
|
||||
js(IR) {
|
||||
browser() {
|
||||
testTask {
|
||||
testLogging.showStandardStreams = true
|
||||
useKarma {
|
||||
useChromeHeadless()
|
||||
useFirefox()
|
||||
|
||||
@@ -8,7 +8,6 @@ kotlin {
|
||||
js(IR) {
|
||||
browser() {
|
||||
testTask {
|
||||
testLogging.showStandardStreams = true
|
||||
useKarma {
|
||||
useChromeHeadless()
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@ kotlin {
|
||||
js(IR) {
|
||||
browser() {
|
||||
testTask {
|
||||
testLogging.showStandardStreams = true
|
||||
useKarma {
|
||||
useChromeHeadless()
|
||||
useFirefox()
|
||||
|
||||
@@ -9,7 +9,6 @@ kotlin {
|
||||
js(IR) {
|
||||
browser() {
|
||||
testTask {
|
||||
testLogging.showStandardStreams = true
|
||||
useKarma {
|
||||
useChromeHeadless()
|
||||
useFirefox()
|
||||
|
||||
Reference in New Issue
Block a user