The point of unit tests...
...is to run them all before you do a release, surely? Try this in a fresh 2.4.0 final install on windows: E:\Zope\2.4.0>bin\python utilities\testrunner.py -a ...which will run all the unit tests in the Zope install. The results are not good :-( Well, I'm gonna see how many failures I can fix and stick them all in the collector. Watch this space... cheers, Chris
Okay, I finally finished going through all the tests. Here's what I found... The following just required minor tweaks to get the tests to run: http://classic.zope.org:8080/Collector/2454/view http://classic.zope.org:8080/Collector/2456/view http://classic.zope.org:8080/Collector/2461/view The following let tests run with a newer version of unittest.py: http://classic.zope.org:8080/Collector/2455/view http://classic.zope.org:8080/Collector/2460/view The following are tests that need to be removed because they're no longer valid: http://classic.zope.org:8080/Collector/2462/view The following showed Zope breakage, some of it looked serious :-( http://classic.zope.org:8080/Collector/2457/view http://classic.zope.org:8080/Collector/2458/view http://classic.zope.org:8080/Collector/2459/view http://classic.zope.org:8080/Collector/2464/view Finally, the following relates to teh ZCatalog tests, which I just couldn't get to run: http://classic.zope.org:8080/Collector/2463/view Of course, once all those are out the way, we have a completely passing test suite for Zope :-) cheers, Chris
Cool work :-) ========================================================================== Andreas Jung andreas@zope.com Zope Corporation www.zope.org, www.zope.com ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: <zope-dev@zope.org> Sent: Samstag, 28. Juli 2001 13:43 Subject: [Zope-dev] Unit Test Fixes :-(
Okay, I finally finished going through all the tests.
Here's what I found...
The following just required minor tweaks to get the tests to run: http://classic.zope.org:8080/Collector/2454/view http://classic.zope.org:8080/Collector/2456/view http://classic.zope.org:8080/Collector/2461/view
The following let tests run with a newer version of unittest.py: http://classic.zope.org:8080/Collector/2455/view http://classic.zope.org:8080/Collector/2460/view
The following are tests that need to be removed because they're no longer valid: http://classic.zope.org:8080/Collector/2462/view
The following showed Zope breakage, some of it looked serious :-( http://classic.zope.org:8080/Collector/2457/view http://classic.zope.org:8080/Collector/2458/view http://classic.zope.org:8080/Collector/2459/view http://classic.zope.org:8080/Collector/2464/view
Finally, the following relates to teh ZCatalog tests, which I just couldn't get to run: http://classic.zope.org:8080/Collector/2463/view
Of course, once all those are out the way, we have a completely passing test suite for Zope :-)
cheers,
Chris
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (2)
-
Andreas Jung -
Chris Withers