You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sami Heikkinen (JIRA)" <ji...@codehaus.org> on 2011/04/04 10:12:22 UTC

[jira] Updated: (SUREFIRE-721) Running tests in alphabetical order doesn't work with TestNG ('runOrder' setting isn't applied)

     [ http://jira.codehaus.org/browse/SUREFIRE-721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sami Heikkinen updated SUREFIRE-721:
------------------------------------

    Attachment: SUREFIRE-721.patch

Patch for possible way to fix attached.

> Running tests in alphabetical order doesn't work with TestNG  ('runOrder' setting isn't applied)
> ------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-721
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-721
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.7, 2.8
>            Reporter: Sami Heikkinen
>         Attachments: SUREFIRE-721.patch
>
>
> The 'runOrder' setting doesn't seem to be working when running tests with TestNG. (At least when the TestNGDirectoryTestSuite is used.) TestNGProvider seems to have correctly initialized DirectyScanner but that isn't passed on when constructing the TestNGDirectoryTestSuite, which just creates a new DefaultDirectoryScanner in the constructor with "filesystem" as the runOrder.

-- 
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