[Zope-Coders] testrunner.py vs. test.py
Chris McDonough
chrism at plope.com
Sat May 15 12:55:46 EDT 2004
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
More information about the Zope-Coders
mailing list