Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16992

Re: unittest. customizing tstloaders / discover()

From Thomas Bach <bachth@uni-mainz.de>
Newsgroups comp.lang.python
Subject Re: unittest. customizing tstloaders / discover()
Date 2011-12-12 00:27 +0100
Organization Johannes Gutenberg-Universitaet Mainz, Germany
Message-ID <87y5uiu1t4.fsf@jubold.box> (permalink)
References <mailman.3518.1323638859.27778.python-list@python.org>

Show all headers | View raw


Gelonida N <gelonida@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…

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

unittest. customizing tstloaders / discover() Gelonida N <gelonida@gmail.com> - 2011-12-11 22:27 +0100
  Re: unittest. customizing tstloaders / discover() Thomas Bach <bachth@uni-mainz.de> - 2011-12-12 00:27 +0100
    Re: unittest. customizing tstloaders / discover() Gelonida N <gelonida@gmail.com> - 2011-12-12 02:32 +0100
      Re: unittest. customizing tstloaders / discover() Thomas Bach <bachth@uni-mainz.de> - 2011-12-12 11:44 +0100
        Re: unittest. customizing tstloaders / discover() Nathan Rice <nathan.alexander.rice@gmail.com> - 2011-12-12 11:50 -0500

csiph-web