Re: Forcing unit test runner to abort after failed test

2007-05-22 Thread simonbun
I looked at this again this morning and it appears that unit tests within a test class do run in alphabetical order after all. This is handled by the sortTestMethodsUsing property of the TestLoader class of the unittest lib itself. Maybe this has changed in a newer version, but in mine (2.4.4)

Re: Forcing unit test runner to abort after failed test

2007-05-18 Thread simonbun
Apparently I can't see very far... Unit tests do not run in reversed order. It appears to be alphabetically ordered. I'm still wondering how to abort the test runner without losing my stack traces though. Regards, Simon On May 18, 11:26 am, simonbun <[EMAIL PROTECTED]> wrote: > Hi all, > > I

Re: Forcing unit test runner to abort after failed test

2007-05-18 Thread Russell Keith-Magee
On 5/18/07, simonbun <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have unit tests for a particular app that take about 2 minutes to > complete. Needless to say, adding new unit tests to this app and > running them is a time consuming process. I know that the old unit > tests will succeed and am

Re: Forcing unit test runner to abort after failed test

2007-05-18 Thread simonbun
Ah, should have refreshed before replying...I had placed a test_a, test_z, test_zz in a particular test class and they ran alphabetically, but that was probably a coincidence apparently. Too bad this can't be done (yet). Thanks for the info anyway. regards, Simon On May 18, 12:49 pm, "Russell

Forcing unit test runner to abort after failed test

2007-05-18 Thread simonbun
Hi all, I have unit tests for a particular app that take about 2 minutes to complete. Needless to say, adding new unit tests to this app and running them is a time consuming process. I know that the old unit tests will succeed and am basically only interested in the results for the new unit