On Tue, 28 Sep 2010 08:07:30 am Modulok wrote:
> On 9/27/10, Steven D'Aprano wrote:
> > On Tue, 28 Sep 2010 04:03:17 am Modulok wrote:
> >> List,
> >>
> >> When using the unittest module, tests are run in alphanumeric
> >> order. What's the suggested way of specifying a test order?
> >
> > There i
On 27-Sep-10 15:07, Modulok wrote:
In an ideal world, I agree. This is possible for pure functional
programming where state is avoided. However, when dealing with object
oriented, imperative programming, state changes cannot be avoided.
Generally, a unit test should test a single aspect of a si
On 9/27/10, Steven D'Aprano wrote:
> On Tue, 28 Sep 2010 04:03:17 am Modulok wrote:
>> List,
>>
>> When using the unittest module, tests are run in alphanumeric order.
>> What's the suggested way of specifying a test order?
>
> There isn't one. It shouldn't matter what order the tests run, no test
>> List,
>>
>> When using the unittest module, tests are run in alphanumeric order.
>> What's the suggested way of specifying a test order?
>
> There isn't one. It shouldn't matter what order the tests run, no test
> should *rely* on another test.
>
> (Although of course, if one test fails, a
On Tue, 28 Sep 2010 04:03:17 am Modulok wrote:
> List,
>
> When using the unittest module, tests are run in alphanumeric order.
> What's the suggested way of specifying a test order?
There isn't one. It shouldn't matter what order the tests run, no test
should *rely* on another test.
(Although
List,
When using the unittest module, tests are run in alphanumeric order.
What's the suggested way of specifying a test order? Any code examples
would be great!
Thanks
-Modulok-
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscript