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:54:29 UTC

[groovy] branch GROOVY_2_5_X 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 GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push:
     new dece653  Also output aborted tests in JUnit 5 GroovyJUnitRunnerHelper (closes #1258)
dece653 is described below

commit dece6533f659ea55662ac1a228b5c606bb14420b
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