- Name: zope-CMFTestCase
- Version: 0.9.7
- Release: 7mdv2010.0
- Epoch:
- Group: System/Servers
- License: GPL
- Url: http://plone.org/products/cmftestcase
- Summary: A test framework for CMF-based applications and products
- Architecture: noarch
- Size: 14905
- Distribution: Mandriva Linux
- Vendor: Mandriva
- Packager: Thierry Vignaud <tvignaud@mandriva.com>
Description:
CMFTestCase is a thin layer on top of the ZopeTestCase package. It 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 'installPackage' to install a Python package registered
via five:registerPackage into the test environment. Requires Zope
2.10.4 or higher.
- The function 'setupCMFSite' to create a CMF portal in the test db.
Note: 'setupCMFSite' accepts an optional 'products' argument, which
allows you to specify a list of products that will be added to the
portal. Product installation is performed via the canonical
'Extensions.Install.install' function. Since 0.8.2 you can also pass
an 'extension_profiles' argument to import GS extension profiles.
- 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' and 'Functional' to mix-in with your own
test cases.
- The constants 'portal_name', 'portal_owner', 'default_products',
'default_base_profile', 'default_extension_profiles',
'default_user', and 'default_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' which contains all utility functions from the
ZopeTestCase package.
- BuildArch:
- ExcludeArch:
- ExclusiveArch:
- Cookie: celeste.mandriva.com 1252509770
- Buildhost: celeste.mandriva.com
Generated packages:
Other version of this rpm: