maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Boyles (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1834) Make warnings for skipped tests configurable
Date Thu, 24 Sep 2020 12:02:00 GMT

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

Michael Boyles commented on SUREFIRE-1834:
------------------------------------------

Happy to work on this. A new parameter for the test goal, something like

<warnOnSkippedTests>false</warnOnSkippedTests>

defaulting to the current behaviour: true.


That is, if someone gives the go-ahead that this is indeed a desirable feature. Seems fair
enough to me

> Make warnings for skipped tests configurable
> --------------------------------------------
>
>                 Key: SUREFIRE-1834
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1834
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin
>    Affects Versions: 3.0.0-M5
>            Reporter: Martin Winandy
>            Priority: Major
>
> Currently, Surefire outputs warnings for skipped tests.
> For example:
> {noformat}
> [WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.037 s - in
org.tinylog.core.runtime.LegacyStackTraceAccessTest
> [WARNING] Tests run: 62, Failures: 0, Errors: 0, Skipped: 2
> {noformat}
> I have some platform depending tests, which are enabled or disabled depending on the
actual platform. It would be great, if a property could be introduced to disable warnings
for skipped tests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message