[Updated] (SUREFIRE-1436) maven.surefire.debug in silent mode

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Updated] (SUREFIRE-1436) maven.surefire.debug in silent mode

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SUREFIRE-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zoltan Haindrich updated SUREFIRE-1436:
---------------------------------------
    Description:
Prior to SUREFIRE-1436. The messages which were closely related to test execution were printed directly to the console instead of the logger.info

https://github.com/apache/maven-surefire/commit/6a79127ab63273f0f1f5268c65e4806761871a46#diff-94128f02ad41a51dcab77c0e0756705fL136

I always execute maven with `-q` because of the high volume of irrelevant messages it prints out.

I miss the following messages when silent mode is active:
{code}
Running org.apache.hadoop.hive.cli.TestMiniLlapCliDriver
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.93 s - in org.apache.hadoop.hive.cli.TestMiniLlapCliDriver
{code}

* It would be great to get back the old behaviour
* especially important to get back disaplaying the {{Listening for transport dt_socket at address: 5005}} message in case someone executes: {{mvn install -q -Dtest=TestA -Dmaven.surefire.debug}}




  was:
earlier...when I've set {{maven.surefire.debug}} while I was using {{-q}}...surefire did show a message that my debugging session is ready to attach we displaying the usual 't e s t s' header nad displaying:
{code}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Listening for transport dt_socket at address: 5005
{code}

since {{2.20}} my terminal is just silent..but, if I connect my debugger after some time...et voila! my debug subject is there waiting in the shadows :)

running maven without {{-q}} technically makes my terminal history useless...

possibly connected: showing the executed tests while {{-q}} is active was very handy for me - I often use test patterns like: {{-Dtest=Test*Cli#*\[\*Colum\*\]}}. And knowning that I've hit exactly 0 cases...means I've typoed the pattern - and not passed the cases...


> maven.surefire.debug in silent mode
> -----------------------------------
>
>                 Key: SUREFIRE-1436
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1436
>             Project: Maven Surefire
>          Issue Type: Wish
>    Affects Versions: 2.20, 2.20.1
>            Reporter: Zoltan Haindrich
>
> Prior to SUREFIRE-1436. The messages which were closely related to test execution were printed directly to the console instead of the logger.info
> https://github.com/apache/maven-surefire/commit/6a79127ab63273f0f1f5268c65e4806761871a46#diff-94128f02ad41a51dcab77c0e0756705fL136
> I always execute maven with `-q` because of the high volume of irrelevant messages it prints out.
> I miss the following messages when silent mode is active:
> {code}
> Running org.apache.hadoop.hive.cli.TestMiniLlapCliDriver
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.93 s - in org.apache.hadoop.hive.cli.TestMiniLlapCliDriver
> {code}
> * It would be great to get back the old behaviour
> * especially important to get back disaplaying the {{Listening for transport dt_socket at address: 5005}} message in case someone executes: {{mvn install -q -Dtest=TestA -Dmaven.surefire.debug}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)