Re: [Zope3-dev] RFC: test.py --list-modules

2007-01-20 Thread Marius Gedminas
On Sun, Jan 14, 2007 at 10:31:16PM +0200, Marius Gedminas wrote: I have now implemented --list-tests in a different branch. That option pays attention to all of -t, -m, -s, -u, -f, --layer, --level options. http://svn.zope.org/zope.testing/branches/list-tests/?rev=72034view=rev I intend

Re: [Zope3-dev] RFC: test.py --list-modules

2007-01-14 Thread Ignas Mikalajunas
I am also thinking about two other options: * --list-files -- essentially the same as --list-modules, but outputs file names instead of module names. * --list-tests -- apply package and module filters, import the modules, apply test name and layer filters, then list just the names

Re: [Zope3-dev] RFC: test.py --list-modules

2007-01-14 Thread Benji York
Marius Gedminas wrote: On Fri, Jan 12, 2007 at 05:17:18PM -0500, Benji York wrote: OTOH, being not very accurate would make the feature as implemented a bit of an attractive nuisance. I phrased it badly. s/It is not very accurate/It may not match user expectations/. Ahh, I see now. As

Re: [Zope3-dev] RFC: test.py --list-modules

2007-01-14 Thread Marius Gedminas
On Fri, Jan 12, 2007 at 11:30:15PM +0200, Marius Gedminas wrote: The Zope 3 test runner can filter tests by package, module, test name and layer. Sometimes your expectations do not match reality and either the test you want is not being run, or more tests than you wanted are being run. When

[Zope3-dev] RFC: test.py --list-modules

2007-01-12 Thread Marius Gedminas
The Zope 3 test runner can filter tests by package, module, test name and layer. Sometimes your expectations do not match reality and either the test you want is not being run, or more tests than you wanted are being run. When you want to debug filter patterns it helps if you can see what tests

Re: [Zope3-dev] RFC: test.py --list-modules

2007-01-12 Thread Benji York
Marius Gedminas wrote: I have implemented a --list-modules option in a branch. It causes the test runner to apply package and module name filters, and then print the list of Python module names that would be imported. It is very fast because it doesn't actually import the modules. It is not

Re: [Zope3-dev] RFC: test.py --list-modules

2007-01-12 Thread Marius Gedminas
On Fri, Jan 12, 2007 at 05:17:18PM -0500, Benji York wrote: Marius Gedminas wrote: I have implemented a --list-modules option in a branch. It causes the test runner to apply package and module name filters, and then print the list of Python module names that would be imported. It is very

Re: [Zope3-dev] RFC: test.py --list-modules

2007-01-12 Thread Gary Poster
On Jan 12, 2007, at 6:33 PM, Marius Gedminas wrote: On Fri, Jan 12, 2007 at 05:17:18PM -0500, Benji York wrote: Marius Gedminas wrote: I have implemented a --list-modules option in a branch. It causes the test runner to apply package and module name filters, and then print the list of