[Zope-Coders] testrunner.py vs. test.py
Lennart Regebro
regebro at nuxeo.com
Mon May 17 04:55:19 EDT 2004
Some sort of official way to write and run tests that cover both Zope and
CMF is desperately needed. It's currently a mess.
I propose shipping ZopeTestCase with Zope 2.8, if the author agrees, and
making tha the official way. Some work may be needed to move current CMF
tests over to ZopeTestCase, I guess...
----- Original Message -----
From: "Andreas Jung" <andreas at andreas-jung.com>
To: "Chris McDonough" <chrism at plope.com>; "Fred Drake" <fred at zope.com>
Cc: <zope-coders at zope.org>
Sent: Saturday, May 15, 2004 7:07 PM
Subject: Re: [Zope-Coders] testrunner.py vs. test.py
> I think a deprecation warning for testrunner.py might be helpful.
>
> -aj
>
> --On Samstag, 15. Mai 2004 12:55 Uhr -0400 Chris McDonough
> <chrism at plope.com> wrote:
>
> > Differences between test.py and testrunner.py include the fact that
> > test.py does not "cd" to the directory in which the tests are before
> > running them while testrunner does, so it's not unusual to see one work
> > and the other not work. I had this happen to me a while back where Jim
> > was seeing test failures after I made a checkin (he was using test.py)
> > and I wasn't (I was using testrunner.py). At that time I think it was
> > decided that the way to run tests was via test.py.
> >
> > - C
> >
> >
> > On Sat, 2004-05-15 at 01:51, Fred Drake wrote:
> >> On Saturday 15 May 2004 01:47 am, Andreas Jung wrote:
> >> > What is the recommended way for the future to run unittests? In the
> >> > output of the daily
> >> > tests I see that some tests fails while I don't see any error when
I
> >> > running all tests
> >> > with testrunner.py -a...any ideas?
> >>
> >> For which versions of Zope? At this point, if test.py is present at
the
> >> top level, that should be the way to run the tests. testrunner.py is
> >> obsolete and hasn't been maintained for a while.
> >>
> >>
> >> -Fred
> >
> >
> > _______________________________________________
> > Zope-Coders mailing list
> > Zope-Coders at zope.org
> > http://mail.zope.org/mailman/listinfo/zope-coders
>
>
>
>
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders at zope.org
> http://mail.zope.org/mailman/listinfo/zope-coders
>
>
More information about the Zope-Coders
mailing list