Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 87AC92009F9 for ; Mon, 23 May 2016 15:20:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 86787160A2F; Mon, 23 May 2016 13:20:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CDBFA1602C5 for ; Mon, 23 May 2016 15:20:13 +0200 (CEST) Received: (qmail 14627 invoked by uid 500); 23 May 2016 13:20:13 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 14602 invoked by uid 99); 23 May 2016 13:20:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2016 13:20:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D48CA2C1F56 for ; Mon, 23 May 2016 13:20:12 +0000 (UTC) Date: Mon, 23 May 2016 13:20:12 +0000 (UTC) From: "Tibor Digana (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SUREFIRE-1251) How to remove stackstrace information from surefire report & include sys output? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 23 May 2016 13:20:14 -0000 [ 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)