maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1377) Surefire 2.20 test output now show [INFO] or [ERROR] - can we disable this?
Date Wed, 31 May 2017 06:11:04 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030690#comment-16030690
] 

Tibor Digana commented on SUREFIRE-1377:
----------------------------------------

No sorry!
This was was required by Maven. Surefire is part of Maven project.
In prior versions we simply logged messages to {{System.out.println()}} but now surefire is
using Maven Logger which is slf4j kind of logger. See the documentation on how to configure
the level of logs but the prefix won't be removed.

> Surefire 2.20 test output now show [INFO] or [ERROR] - can we disable this?
> ---------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1377
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1377
>             Project: Maven Surefire
>          Issue Type: Question
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.20
>         Environment: linux/maven 3.0.5
>            Reporter: Dany Alain
>            Assignee: Tibor Digana
>            Priority: Minor
>              Labels: CI, documentation, maven
>
> Previous version of surefire were showing test result but new version 2.20 is showing
[INFO] [ERROR]
> Is there a way to get the old ouput? 
> BEFORE 2.20
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Tests run: 45, Failures: 0, Errors: 0, Skipped: 0
> Running com.my.qa.security.RestTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.297 sec - in com.my.qa.security.RestTest
> Running com.my.qa.security.scan.SecurityScanningTest
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 19.945 sec <<<
FAILURE! - in com.my.qa.security.scan.SecurityScanningTest
> WITH 2.20
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Tests run: 45, Failures: 0, Errors: 0, Skipped: 0
> [INFO] Running com.my.qa.security.RestTest
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.297 sec - in
com.my.qa.security.RestTest
> [INFO] Running com.my.qa.security.scan.SecurityScanningTest
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 19.945 sec <<<
FAILURE! - in com.my.qa.security.scan.SecurityScanningTest



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message