Skip to content

Commit 1a1ed08

Browse files
author
Dai MIKURUBE
committed
Dump test logs verbosely
1 parent f0bc43f commit 1a1ed08

File tree

19 files changed

+114
-19
lines changed

19 files changed

+114
-19
lines changed

embulk-decoder-bzip2/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,13 @@ signing {
147147

148148
test {
149149
testLogging {
150-
outputs.upToDateWhen { false }
150+
events "passed", "skipped", "failed", "standardOut", "standardError"
151+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
152+
showCauses = true
153+
showExceptions = true
154+
showStackTraces = true
151155
showStandardStreams = true
156+
outputs.upToDateWhen { false }
152157
}
153158
}
154159

embulk-decoder-gzip/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,13 @@ signing {
150150

151151
test {
152152
testLogging {
153-
outputs.upToDateWhen { false }
153+
events "passed", "skipped", "failed", "standardOut", "standardError"
154+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
155+
showCauses = true
156+
showExceptions = true
157+
showStackTraces = true
154158
showStandardStreams = true
159+
outputs.upToDateWhen { false }
155160
}
156161
}
157162

embulk-encoder-bzip2/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,13 @@ signing {
143143

144144
test {
145145
testLogging {
146-
outputs.upToDateWhen { false }
146+
events "passed", "skipped", "failed", "standardOut", "standardError"
147+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
148+
showCauses = true
149+
showExceptions = true
150+
showStackTraces = true
147151
showStandardStreams = true
152+
outputs.upToDateWhen { false }
148153
}
149154
}
150155

embulk-encoder-gzip/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,13 @@ signing {
142142

143143
test {
144144
testLogging {
145-
outputs.upToDateWhen { false }
145+
events "passed", "skipped", "failed", "standardOut", "standardError"
146+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
147+
showCauses = true
148+
showExceptions = true
149+
showStackTraces = true
146150
showStandardStreams = true
151+
outputs.upToDateWhen { false }
147152
}
148153
}
149154

embulk-filter-remove_columns/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,13 @@ signing {
156156

157157
test {
158158
testLogging {
159-
outputs.upToDateWhen { false }
159+
events "passed", "skipped", "failed", "standardOut", "standardError"
160+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
161+
showCauses = true
162+
showExceptions = true
163+
showStackTraces = true
160164
showStandardStreams = true
165+
outputs.upToDateWhen { false }
161166
}
162167
}
163168

embulk-filter-rename/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,13 @@ signing {
152152

153153
test {
154154
testLogging {
155-
outputs.upToDateWhen { false }
155+
events "passed", "skipped", "failed", "standardOut", "standardError"
156+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
157+
showCauses = true
158+
showExceptions = true
159+
showStackTraces = true
156160
showStandardStreams = true
161+
outputs.upToDateWhen { false }
157162
}
158163
}
159164

embulk-formatter-csv/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,13 @@ signing {
157157

158158
test {
159159
testLogging {
160-
outputs.upToDateWhen { false }
160+
events "passed", "skipped", "failed", "standardOut", "standardError"
161+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
162+
showCauses = true
163+
showExceptions = true
164+
showStackTraces = true
161165
showStandardStreams = true
166+
outputs.upToDateWhen { false }
162167
}
163168
}
164169

embulk-guess-bzip2/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,13 @@ signing {
137137

138138
test {
139139
testLogging {
140-
outputs.upToDateWhen { false }
140+
events "passed", "skipped", "failed", "standardOut", "standardError"
141+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
142+
showCauses = true
143+
showExceptions = true
144+
showStackTraces = true
141145
showStandardStreams = true
146+
outputs.upToDateWhen { false }
142147
}
143148
}
144149

embulk-guess-csv/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,13 @@ test {
156156
maxHeapSize = "1536m"
157157
forkEvery = 1 // test processes are forked by each test class (default is 0)
158158
testLogging {
159-
outputs.upToDateWhen { false }
159+
events "passed", "skipped", "failed", "standardOut", "standardError"
160+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
161+
showCauses = true
162+
showExceptions = true
163+
showStackTraces = true
160164
showStandardStreams = true
165+
outputs.upToDateWhen { false }
161166
}
162167
}
163168

embulk-guess-csv_all_strings/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,13 @@ test {
155155
maxHeapSize = "1536m"
156156
forkEvery = 1 // test processes are forked by each test class (default is 0)
157157
testLogging {
158-
outputs.upToDateWhen { false }
158+
events "passed", "skipped", "failed", "standardOut", "standardError"
159+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
160+
showCauses = true
161+
showExceptions = true
162+
showStackTraces = true
159163
showStandardStreams = true
164+
outputs.upToDateWhen { false }
160165
}
161166
}
162167

0 commit comments

Comments
 (0)