You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michal Bocek (JIRA)" <ji...@apache.org> on 2015/12/09 23:08:11 UTC

[jira] [Commented] (SUREFIRE-1135) Improve ignore message for TestNG

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

Michal Bocek commented on SUREFIRE-1135:
----------------------------------------

Hi Tibor,
sorry for my late reply but i'm too busy in these days. I agree with you regarding the concept ignore messages. But please keep in mind in JUnit you can define the ignore message in annotation what is bit different to TestNG SkipException concept. My personal preference is to keep stacktrace in the xml report. On another way i can imagine ignore message can contains all important information.

> Improve ignore message for TestNG
> ---------------------------------
>
>                 Key: SUREFIRE-1135
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1135
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: TestNG support
>            Reporter: Michal Bocek
>            Assignee: Tibor Digana
>         Attachments: TEST-testng.SkipExceptionReportTest.xml
>
>
> Once the test is ignored/skipped in TestNG no additional informations are reported. Surefire xml report contains only "skipped" element  without any information. It will be very useful to provide addition info like message and stacktrace. 
> JUnit reporter correctly provide ignore message from "Ignore" annotation so we can similarly provide message from SkipException.



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