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 08:56:40 UTC
[groovy] branch master updated: 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 master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 4904f79 Also output aborted tests in JUnit 5 GroovyJUnitRunnerHelper (closes #1258)
4904f79 is described below
commit 4904f793da534c9189f809015ae6944699163e36
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