You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dave Meibusch (JIRA)" <ji...@codehaus.org> on 2008/07/09 06:05:26 UTC

[jira] Commented: (SUREFIRE-382) TestNG parameterized test failures don't specify parameterized values

    [ http://jira.codehaus.org/browse/SUREFIRE-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141163#action_141163 ] 

Dave Meibusch commented on SUREFIRE-382:
----------------------------------------

+1.
This is a particular problem when using the @DataProvider annotation with TestNG for generate test data.

The generated testng-results.xml file (resolved by SUREFIRE-384) does contain details of the parameters used for each test, just not used in the Surefire HTML report.

> TestNG parameterized test failures don't specify parameterized values
> ---------------------------------------------------------------------
>
>                 Key: SUREFIRE-382
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-382
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>            Reporter: Dan Fabulich
>             Fix For: 2.x
>
>         Attachments: testng-dataProviderFailure.zip
>
>
> TestNG allows tests to accept variable parameters; the test is run multiple times with multiple parameter values.
> http://testng.org/doc/documentation-main.html#parameters
> But the parameter values aren't stored in the surefire-reports directory either in the txt or xml versions, and so they can't show up in the final report.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira