You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2011/12/13 21:38:02 UTC

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

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

Kristian Rosenvold closed SUREFIRE-721.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11
         Assignee: Kristian Rosenvold

This issue was fixed in 2.11
                
> Running tests in alphabetical order doesn't work with TestNG  ('runOrder' setting isn't applied)
> ------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-721
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-721
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.7, 2.8
>            Reporter: Sami Heikkinen
>            Assignee: Kristian Rosenvold
>             Fix For: 2.11
>
>         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, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira