Hi Derrell,

the tests are actually executed in alphabetical order. This is because 
the Testrunner constructs an internal model of the test suite, sorting 
the items on each hierarchical level (namespaces, classes and test 
methods). The test tree in the default Widget view is a direct 
representation of this model, it doesn't do any sorting itself.

So while there's no way to influence the sorting order (other than 
creating a derived Testrunner and overriding 
testrunner.runner.TestItem.sortFunction), you could just name your test 
methods "test A something", "test B something else" asf.


Regards,
Daniel

On 11/09/2011 04:22 PM, Derrell Lipman wrote:
> Each unit test file may have a setUp() method and a tearDown() method.
> If I set things up with initial data, and then run a series of tests in
> that file, I need for the tests to run in a specified order. Since they
> are in a map, not an array, the order is indeterminate. Is there any
> sorting of test names or some other means available in the unit test
> system at present to order the tests?
>
> Derrell
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
>
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to