Personal tools
You are here: Home Plone products CMFTestCase

CMFTestCase (0.9.7)

Document Actions
Released on 2007-12-05 by Stefan Holek, Stefan H. Holek for Plone 2.0, Plone 2.1, Plone 2.5, Plone 3.0 under -- 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.

There are currently no items in this folder.

Plone Themes
  • Schools Plone Theme
  • Lite Plone Theme
  • Techlight Plone Theme
 

Powered by Plone