You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/05/28 10:53:42 UTC
[groovy] 01/04: Also output aborted tests in JUnit 5
GroovyJUnitRunnerHelper (closes #1258)
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 8727f1b716386af63fe349594b735a8568bac75a
Author: Björn Kautler <Bj...@Kautler.net>
AuthorDate: Tue May 26 13:41:52 2020 +0200
Also output aborted tests in JUnit 5 GroovyJUnitRunnerHelper (closes #1258)
---
.../src/main/groovy/groovy/junit5/plugin/GroovyJUnitRunnerHelper.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/groovy-test-junit5/src/main/groovy/groovy/junit5/plugin/GroovyJUnitRunnerHelper.groovy b/subprojects/groovy-test-junit5/src/main/groovy/groovy/junit5/plugin/GroovyJUnitRunnerHelper.groovy
index 1c1a1d3..0b74f55 100644
--- a/subprojects/groovy-test-junit5/src/main/groovy/groovy/junit5/plugin/GroovyJUnitRunnerHelper.groovy
+++ b/subprojects/groovy-test-junit5/src/main/groovy/groovy/junit5/plugin/GroovyJUnitRunnerHelper.groovy
@@ -38,7 +38,7 @@ class GroovyJUnitRunnerHelper {
launcher.registerTestExecutionListeners(listener)
launcher.registerTestExecutionListeners(LoggingListener.forJavaUtilLogging())
launcher.execute(request)
- println listener.summary.with{ "JUnit5 launcher: passed=$testsSucceededCount, failed=$testsFailedCount, skipped=$testsSkippedCount, time=${timeFinished-timeStarted}ms" }
+ println listener.summary.with{ "JUnit5 launcher: passed=$testsSucceededCount, aborted=$testsAbortedCount, failed=$testsFailedCount, skipped=$testsSkippedCount, time=${timeFinished-timeStarted}ms" }
if (listener.summary.failures) {
listener.summary.printFailuresTo(new PrintWriter(System.out, true))
return listener.summary.failures[0].exception