Tres Seaver wrote at 2009-3-11 21:27 -0400: > ... >> In packages that don't load their own ZCML during the tests, it's harder >> to say. One reaction could be that this package doesn't have enough >> tests then! Of course another would argue that this is configuration >> information only that can be overridden, but it is rather special >> configuration... > >- -1 on having "configuration dependecies," including having mandatory >tests that ZCML will load: "mandatory configuration is a contradiction >in terms." I therefore don't believe that tests which try to load ZCML >are useful, at least for "library" pacakges (as opposed to "applications").
I do not agree with you here. *IF* a package contains ZCML files (e.g. in order to facilitate a standard integration into a larger Zope 3 system), then these ZCML files should of course be tested -- even when there are conceivable package uses that do not use the ZCML files. -- Dieter _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )