Re: [Zope-CMF] Re: Fighting the Zope 2.9 testrunner
On Tue, Mar 21, 2006 at 03:02:06PM +, Jens Vagelpohl wrote: > On 21 Mar 2006, at 14:55, Paul Winkler wrote: > >How bout here? > >http://zopewiki.org/HowToRunZopeUnitTests > > Umh, I didn't plan on writing a novel. I have a very simple document > here: > > http://www.dataflake.org/docs/testrunner_madness.html I didn't ask for a novel, a comment would do :) I've linked to your page, that's fine for now. Thanks for writing that! -PW -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
Re: [Zope-CMF] Re: Fighting the Zope 2.9 testrunner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21 Mar 2006, at 14:55, Paul Winkler wrote: On Tue, Mar 21, 2006 at 12:19:47PM +, Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the tips, guys. I'm going to put together a document, mostly as a reminder for myself, that points out the differences for the 3 cases that cover 99% of my own needs, and then link that from zope.org so that hopefully other people will be able to find it. How bout here? http://zopewiki.org/HowToRunZopeUnitTests Umh, I didn't plan on writing a novel. I have a very simple document here: http://www.dataflake.org/docs/testrunner_madness.html ... and a published Link on zope.org here: http://www.zope.org/Members/jens/docs/Link.2006-03-21.0148/view jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEIBVuRAx5nvEhZLIRApZsAJ9L0UyJLC2HxZtRw/YGae5dKTMfnACeJWSY rhx2nQ412af5BMzvuYUB1dc= =TtXN -END PGP SIGNATURE- ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
Re: [Zope-CMF] Re: Fighting the Zope 2.9 testrunner
On Tue, Mar 21, 2006 at 12:19:47PM +, Jens Vagelpohl wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Thanks for the tips, guys. I'm going to put together a document, > mostly as a reminder for myself, that points out the differences for > the 3 cases that cover 99% of my own needs, and then link that from > zope.org so that hopefully other people will be able to find it. How bout here? http://zopewiki.org/HowToRunZopeUnitTests -- Paul Winkler http://www.slinkp.com ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
Re: [Zope-CMF] Re: Fighting the Zope 2.9 testrunner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the tips, guys. I'm going to put together a document, mostly as a reminder for myself, that points out the differences for the 3 cases that cover 99% of my own needs, and then link that from zope.org so that hopefully other people will be able to find it. jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEH+9jRAx5nvEhZLIRAhftAKCLEnKmBWo16rM+OQmEDUAPx4KFVACfcCSo UxoReGR3A2QvgjcBJAFrrY0= =TOPO -END PGP SIGNATURE- ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
[Zope-CMF] Re: Fighting the Zope 2.9 testrunner
Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm working on CMFCalendar and running the tests out of the instance home like this: bin/zopectl test -m CMFCalendar -vv This runs tests, according to the output, but apparently not how or where I think it should. No .pyc files appear in the tests directory I am looking at and I have verified several times that the Products directory in my instance home is linking in the right stuff. No matter what I change in the test_Event.py module, the tests run the same way as if an entirely different module is loaded. From the old testrunner, which I miss *a lot*, I could ensure I am indeed running a specific module by doing... bin/zopectl test Products/CMFCalendar/tests/test_Event.py Is there an equivalent for this confusing new testrunner? i've been using: ./bin/zopectl test -mProducts.CMFCalendar to run all of the tests in a product, and: ./bin/zopectl test -mProducts.CMFCalendar.tests.test_Event to only run the tests in a specific module. to only run a specific test, i believe you use '-t', which uses regex matching, so i believe: ./bin/zopectl test -mProducts.CMFCalendar.tests.test_Event -tinterfaces would run both "test_z2interfaces" and "test_z3interfaces", but no others. the syntax is a bit less direct than the old runner. it's documented, however, in the zope/testing/testrunner-test-selection.txt file. -r ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
[Zope-CMF] Re: Fighting the Zope 2.9 testrunner
On Mon, 20 Mar 2006 23:09:01 +, Jens Vagelpohl wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'm working on CMFCalendar and running the tests out of the instance > home like this: > > bin/zopectl test -m CMFCalendar -vv > Try bin/zopectl test -m -vv --dir Products/CMFCalendar ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests