[TIP] Skipping tests (was:Re: Ideology)

Doug Hellmann doug.hellmann at gmail.com
Fri Apr 24 14:50:56 PDT 2009

On Apr 24, 2009, at 5:02 PM, Douglas Philips wrote:

> On or about 2009 Apr 24, at 4:13 PM, Doug Hellmann indited:
>> Yeah, it sounds like we have different use cases.  Usually the  
>> tests I want to skip require some specialized piece of hardware  
>> (like a particular brand of network switch or storage array).  The  
>> entire test module is tagged to be skipped by the automated run by  
>> default, and we only enable the tests when the equipment is  
>> available.
> Probably are different, but I am wondering if this is an  
> optimization of test loading time issue or something deeper?

I'm just not tracking the fact that the test exists and is being  
skipped.  I see the value in that, though.  If I had it to do over, I  
probably would load the test and include it in the report as skipped.


More information about the testing-in-python mailing list