Products.CMFTestCase (0.9.11)
by
Olha Pelishok
—
last modified
2010-09-23
Released on 2010-09-20 by Stefan H. Holek for Plone 2.0, Plone 2.1, Plone 2.5, Plone 3.0 under Zope Public License (ZPL) available for All platforms.
Software development stage: stable
- Products.CMFTestCase download link: http://plone.org/products/cmftestcase/releases
- Homepage of Products.CMFTestCase: http://plone.org/products/cmftestcase
- Products.CMFTestCase repository: https://svn.plone.org/svn/collective/CMFTestCase/trunk/
- Description source: https://svn.plone.org/svn/collective/CMFTestCase/trunk/README.txt
CMFTestCase has been developed to simplify testing of CMF-based applications and products.
The CMFTestCase package provides:
- The function
installProduct
to install a Zope product into the test environment. - The function
setupCMFSite
to create a CMF portal in the test db. - The class
CMFTestCase
of which to derive your test cases. - The class
FunctionalTestCase
of which to derive your test cases for functional unit testing. - The classes
Sandboxed
andFunctional
to mix-in with your own test cases. - The constants
portal_name
,portal_owner
,default_products
,default_base_profile
,default_extension_profiles
,default_user
, anddefault_password
. - The constant
CMF15
which evaluates to true for CMF versions >= 1.5. - The constant
CMF16
which evaluates to true for CMF versions >= 1.6. - The constant
CMF20
which evaluates to true for CMF versions >= 2.0. - The constant
CMF21
which evaluates to true for CMF versions >= 2.1. - The module
utils
from the ZopeTestCase package.