I have found the following problem before in CacheFu and now I face it
again with portletmania (a product created by Carlos de la Guardia that
extends Plone's available portlets to include information located in
other sites): there is a base class that is extended in some way and
brings 4 or 5 brand new Plone content types.
I think that the base class needs to be initialized only and doesn't
need to be registered as a content type.
I want to test common behavior on the base class, but then I can't
create the object using _createObjectByType nor invokeFactory, but
initializing a class instance instead.
optilude (or wiggy, or newbery, can't remember who) told me to test
everything on the final content types, but I'm not pretty sure.
I checked ATContentTypes, for example, and I don't see any tests for
some of the very basic ones (ie BaseContent).
what do you think, guys? what's the best approach, to test everything on
final content types, or to test general things on base class and
specifics on final content types?
saludos
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers