[
https://issues.apache.org/jira/browse/SUREFIRE-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15301580#comment-15301580
]
Akshay commented on SUREFIRE-1251:
----------------------------------
[~tibor17] - Hi Tibor - Thank's for reviewing my sample code , Can you please
guide me on where I'm making mistake in the pom.xml (I know there are several
issues in the pom.xml - But really need a guidance)
That's fine if we do not remove stack strace , But at lease an we add
std-outputs along-with the stack strace in both the condition for example -
1. If the test is PASS - It will only print std output as there will no stack
strace available of errors / failures
2. If the test is FAIL - It will print stack strace along with std outputs
Google.html is the name of my reports - it is a sample name for report.
I have tried having std-output in the surefire reports by adding extra
configuration in the <reporting> tag but it didn't fetch it.
Another thing which i have observed is std-outputs in not generated here -
surefire-reports/*.xml
in the case where "test case is passed" but in case of failures it has
generated std-outs.
If you run the above project code using mvn site then you will see the
surefire-reports/*.xml , Which has a outputs in-side xml files.
Let me know what you are expecting me to put on the githib ?
Akshay
> 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: Minor
> Labels: maven
> Attachments: GoogleProject-2016-05-24.zip, SSreporterr.png,
> SSreporterr.png
>
>
> 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)