Re: django testing. random test order with some 'dependency constraints'

2011-11-28 Thread Gelonida N
Hi Russel, Thanks for your answer. On 11/28/2011 04:12 AM, Russell Keith-Magee wrote: > On Mon, Nov 28, 2011 at 9:39 AM, Gelonida N wrote: > . . . > Unit tests are supposed to be isolated. They shouldn't depend on > execution order, or have any pre-requisite other than those specified > as part

Re: django testing. random test order with some 'dependency constraints'

2011-11-27 Thread Russell Keith-Magee
On Mon, Nov 28, 2011 at 9:39 AM, Gelonida N wrote: > I'd like to create some unit tests whch should be executed in random order. > > > However some tests could benefit from results of some predecessor tests. > > Therefore they should be executed only after certain tests. Unit tests are supposed t

django testing. random test order with some 'dependency constraints'

2011-11-27 Thread Gelonida N
I'd like to create some unit tests whch should be executed in random order. However some tests could benefit from results of some predecessor tests. Therefore they should be executed only after certain tests. Did anybody try to implement such a test setup with Django's default unit tests? Are