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


Groups > comp.lang.python > #16992

Re: unittest. customizing tstloaders / discover()

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!news-transit.tcx.org.uk!rt.uk.eu.org!newsfeed.eweka.nl!feeder3.eweka.nl!81.171.88.15.MISMATCH!eweka.nl!lightspeed.eweka.nl!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.Uni-Mainz.DE!not-for-mail
From Thomas Bach <bachth@uni-mainz.de>
Newsgroups comp.lang.python
Subject Re: unittest. customizing tstloaders / discover()
Date Mon, 12 Dec 2011 00:27:19 +0100
Organization Johannes Gutenberg-Universitaet Mainz, Germany
Lines 13
Message-ID <87y5uiu1t4.fsf@jubold.box> (permalink)
References <mailman.3518.1323638859.27778.python-list@python.org>
NNTP-Posting-Host zdv-vpn1-38-86.zdv.uni-mainz.de
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace infosys-01.zdv.uni-mainz.de 1323646041 30714 134.93.38.86 (11 Dec 2011 23:27:21 GMT)
X-Complaints-To news@uni-mainz.de
NNTP-Posting-Date Sun, 11 Dec 2011 23:27:21 +0000 (UTC)
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
Cancel-Lock sha1:HafRX7gF14A2+CynzHr6abDXAXY=
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:16992

Show key headers only | 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