You are here: Home Plone products Products.CMFTestCase

Products.CMFTestCase (0.9.11)

1
by Olha Pelishok last modified 2010-09-23
0.0
0.0
0.0
0.0
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
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 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 from the ZopeTestCase package.
Document Actions
Powered by Plone