IMHO, it would be nice if they were run in the order they were defined. -mike ahoward wrote: >On Tue, 28 Jan 2003, Mauricio FernáÏdez wrote: > > > >>I'm new to Unit Testing and wanted to learn on it by writing the tests for a >>cheap file-transfer protocol. There's some hand-shaking involved at the >>beginning which _needs_ to be done before anything else. The problem is I'd >>like to test that too, but I don't know if I can rely on any order in the >>execution of the tests. OTOH, I don't know if it's OK to do everything in >>#setup and do the assertions right there. >> >> > >i had a similar problem. nameing your tests in a manner which sorts lexically >seems to work, eg : > > def test_a_whatever > ... > end > > def test_b_whatever > ... > end > >-a > > >