[Zope-dev] Dependencies for ZCML
Tres Seaver
tseaver at palladion.com
Fri Mar 13 16:20:38 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dieter Maurer wrote:
> Tres Seaver wrote at 2009-3-12 14:25 -0400:
>> ...
>> Sorry, I meant "mandatory tests which load ZCML." I'm actually against
>> ever loading ZCML in tests at all.
>
> If you ship ZCML, you should test it, no?
Not necessarily: in fact, if testing it means that users of my package
have to accept a big dogpile of dependencies that they otherwise
wouldn't need to, then no. I can easily imagine shipping ZCML in the
form I outline below in a package which itself doesn't depend on
zope.configuration at all, for instance.
> You will not ship ZCML, but this may not apply to everybody....
I likely won't ship ZCML inside a reusable library (as opposed to a
deployable application): if I do, it will probably be not a
"convenience" that I make everybody include (not my definition of
convenience, anyway) but an example which I expect they can either
include or *copy and change*.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJusAW+gerLs4ltQ4RAv0wAKCJg83M2fgdaunXS9b8PZysJDHLrgCg0MHQ
6+VxRild3DMB5y8PYJ7RK1s=
=a3Ax
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list