[BUG][FIX] Squeak3.2gamma and TestRunner

Alain Fischer alain.fischer at bluewin.ch
Wed Jul 10 22:17:22 UTC 2002


In the Squeak latest version I have (#4881), TestRunner show the classes 
with test unsorted.
This make finding a specific class rather difficult if there is a lot.

I have just added sorting to the tests:

TestRunner>>initialize
         result _ TestResult new.
         passFail _ 'N/A'.
         details _ '...'.
         failures _ OrderedCollection new.
         errors _ OrderedCollection new.
         tests _ self gatherTestNames asSortedCollection.
         selectedSuite _ 0.
         selectedFailureTest _ 0.
         selectedErrorTest _ 0.

I hope this will not to late for the Squeak3.2 final.

Alain




More information about the Squeak-dev mailing list