unittest. customizing tstloaders / discover()

Gelonida N gelonida at gmail.com
Sun Dec 11 20:32:14 EST 2011


On 12/12/2011 12:27 AM, Thomas Bach wrote:
> Gelonida N <gelonida at gmail.com> writes:
> 
>> I'd like to use regular expresions as include / exclude rules
>> and I would like to have another filter function, which would check for
>> the existence of certain metavariabels in test suite files
> 
> Did you have a look at nose? I'm using it and it supports
> include/exclude rules via RE and lets you select directories to run
> tests from.
> 
> I'm not sure about the meta-variable thing, but it supports plug ins
> that could do the trick…
> 

I looked at nose very briefly, but too short to form a real opinion
and to understand whether nose would have any negative impact on
existing unit tests.

Do I loose anything if using nose. or example can all unit tests / doc
tests still be run from nose?






More information about the Python-list mailing list