Skip to content

Commit 54ae703

Browse files
committed
Log only failed tests
1 parent 01342b5 commit 54ae703

File tree

6 files changed

+0
-79
lines changed

6 files changed

+0
-79
lines changed

stream-chat-android-compose/build.gradle.kts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import io.getstream.chat.android.Configuration
2-
import org.gradle.api.tasks.testing.logging.TestLogEvent
32
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
43

54
plugins {
@@ -36,18 +35,6 @@ android {
3635
unitTests {
3736
isIncludeAndroidResources = true
3837
unitTests.isReturnDefaultValues = true
39-
// // Show the result of every unit test, even if it passes.
40-
all {
41-
it.testLogging {
42-
events = setOf(
43-
TestLogEvent.PASSED,
44-
TestLogEvent.SKIPPED,
45-
TestLogEvent.FAILED,
46-
TestLogEvent.STANDARD_OUT,
47-
TestLogEvent.STANDARD_ERROR,
48-
)
49-
}
50-
}
5138
}
5239
}
5340

stream-chat-android-offline/build.gradle.kts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import io.getstream.chat.android.Configuration
2-
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
3-
import org.gradle.api.tasks.testing.logging.TestLogEvent
42
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
53
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
64

@@ -31,19 +29,6 @@ android {
3129
unitTests {
3230
isIncludeAndroidResources = true
3331
unitTests.isReturnDefaultValues = true
34-
all {
35-
it.testLogging {
36-
events = setOf(
37-
TestLogEvent.FAILED,
38-
TestLogEvent.STANDARD_OUT,
39-
TestLogEvent.STANDARD_ERROR,
40-
)
41-
showExceptions = true
42-
showCauses = true
43-
showStackTraces = true
44-
exceptionFormat = TestExceptionFormat.FULL
45-
}
46-
}
4732
}
4833
}
4934
buildTypes {

stream-chat-android-state/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import io.getstream.chat.android.Configuration
2-
import org.gradle.api.tasks.testing.logging.TestLogEvent
32
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
43

54
plugins {
@@ -30,17 +29,6 @@ android {
3029
unitTests {
3130
isIncludeAndroidResources = true
3231
unitTests.isReturnDefaultValues = true
33-
all {
34-
it.testLogging {
35-
events = setOf(
36-
TestLogEvent.PASSED,
37-
TestLogEvent.SKIPPED,
38-
TestLogEvent.FAILED,
39-
TestLogEvent.STANDARD_OUT,
40-
TestLogEvent.STANDARD_ERROR,
41-
)
42-
}
43-
}
4432
}
4533
}
4634

stream-chat-android-ui-common/build.gradle.kts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import io.getstream.chat.android.Configuration
2-
import org.gradle.api.tasks.testing.logging.TestLogEvent
32
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
43

54
plugins {
@@ -32,18 +31,6 @@ android {
3231
unitTests {
3332
isIncludeAndroidResources = true
3433
unitTests.isReturnDefaultValues = true
35-
// // Show the result of every unit test, even if it passes.
36-
all {
37-
it.testLogging {
38-
events = setOf(
39-
TestLogEvent.PASSED,
40-
TestLogEvent.SKIPPED,
41-
TestLogEvent.FAILED,
42-
TestLogEvent.STANDARD_OUT,
43-
TestLogEvent.STANDARD_ERROR,
44-
)
45-
}
46-
}
4734
}
4835
}
4936

stream-chat-android-ui-components/build.gradle.kts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import io.getstream.chat.android.Configuration
2-
import org.gradle.api.tasks.testing.logging.TestLogEvent
32
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
43

54
plugins {
@@ -35,18 +34,6 @@ android {
3534
unitTests {
3635
isIncludeAndroidResources = true
3736
unitTests.isReturnDefaultValues = true
38-
// Show the result of every unit test, even if it passes.
39-
all {
40-
it.testLogging {
41-
events = setOf(
42-
TestLogEvent.PASSED,
43-
TestLogEvent.SKIPPED,
44-
TestLogEvent.FAILED,
45-
TestLogEvent.STANDARD_OUT,
46-
TestLogEvent.STANDARD_ERROR,
47-
)
48-
}
49-
}
5037
}
5138
}
5239

stream-chat-android-ui-utils/build.gradle.kts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import io.getstream.chat.android.Configuration
2-
import org.gradle.api.tasks.testing.logging.TestLogEvent
32
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
43

54
plugins {
@@ -29,18 +28,6 @@ android {
2928
unitTests {
3029
isIncludeAndroidResources = true
3130
unitTests.isReturnDefaultValues = true
32-
// Show the result of every unit test, even if it passes.
33-
all {
34-
it.testLogging {
35-
events = setOf(
36-
TestLogEvent.PASSED,
37-
TestLogEvent.SKIPPED,
38-
TestLogEvent.FAILED,
39-
TestLogEvent.STANDARD_OUT,
40-
TestLogEvent.STANDARD_ERROR,
41-
)
42-
}
43-
}
4431
}
4532
}
4633

0 commit comments

Comments
 (0)