You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nicolas Vogel (JIRA)" <ji...@codehaus.org> on 2008/10/23 11:25:19 UTC

[jira] Updated: (SUREFIRE-321) Run tests in alphabetical order

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

Nicolas Vogel updated SUREFIRE-321:
-----------------------------------

    Attachment: SUREFIRE-321.patch

An other solution is to replace 

testSets = new HashMap();
by
testSets = new TreeMap();

class : surefire-api\src\main\java\org\apache\maven\surefire\suite\AbstractDirectoryTestSuite.java
method : locateTestSets
line : 78

Patch is attached

> Run tests in alphabetical order
> -------------------------------
>
>                 Key: SUREFIRE-321
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-321
>             Project: Maven Surefire
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Daniel Beland
>            Priority: Minor
>             Fix For: 2.x
>
>         Attachments: SUREFIRE-321.patch
>
>
> It would be nice if the tests were run in alphabetical order (with complete package name).
> So all tests in a package run in order and same things for each packages.
> It just makes it easier to know where we currently are in the tests and makes it easier to estimate how long it will take before the tests finish to run.

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