On Fri, 02 Sep 2005 23:08:37 +0100, Jens Vagelpohl wrote:
> IMHO there is at least one problematic item (well, it's not for the  
> trunk, but for the 1.5/1.4 branches), which is the dependency on  
> ZopeTestCase. The way the code works right now you immediately  
> prevent any tests from running on platforms that do not have  
> ZopeTestCase installed - it blows up the testrunner. That needs to  
> degrade a bit more gracefully in the absence of ZopeTestCase.

So you would be OK if the tests just failed if ZopeTestCase were not
installed?

I think something along the lines of

try:
   from ZopeTestCase import ZopeTestCase
except:
   print 'Install ZopeTestCase!'
   class ZopeTestCase:
      pass

might do the trick.  Unless you want to write your own functional tests ;)

_______________________________________________
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

Reply via email to