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-1251) How to remove stackstrace information from surefire report & include sys output?
Date Mon, 23 May 2016 13:20:12 GMT

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

Tibor Digana commented on SUREFIRE-1251:
----------------------------------------

We suppose an error as exception thrown out of the test method, including AssertionError which
is an outcome from assertion statements. Other errors, e.g. internal application errors, are
not under control of the plugin.
Find appropriate configuration parameters in documentation
http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html
and play with printSummary, trimStackTrace.
I think at least one line of the stack trace error will always be in the report.
And why not to have it in report? It's the purpose of surefire/failsafe plugins.
If you want to violate the real status then fix the application which tests fail - no reason
to hide the error.

> How to remove stackstrace information from surefire report & include sys output?
> --------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1251
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1251
>             Project: Maven Surefire
>          Issue Type: Question
>          Components: Maven Surefire Plugin, Maven Surefire Report Plugin
>    Affects Versions: 2.5
>            Reporter: Akshay
>            Priority: Blocker
>              Labels: maven
>
> I'm executing test suite of junit tests using maven & I'm using surefire plug-in
[2.5] for reporting , Now i have to customize reports ...So how to remove stacks trace information
from surefire report & rather than this i have to include / print - system output in the
generated report which are written in the junit scripts ??
> How to achieve this ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message