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


Groups > comp.lang.python > #16988

unittest. customizing tstloaders / discover()

From Gelonida N <gelonida@gmail.com>
Subject unittest. customizing tstloaders / discover()
Date 2011-12-11 22:27 +0100
Newsgroups comp.lang.python
Message-ID <mailman.3518.1323638859.27778.python-list@python.org> (permalink)

Show all headers | View raw


Hi,

I'd like to have a custom test loder, which will filter out certain
tests or which just searches tests in certain directories.

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


WHat would be the best starting point for such an example.

Thanks a lot in advance for any info / pointer /tutorial . . ..

Back to comp.lang.python | Previous | NextNext 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