Personal tools
You are here: Home Plone products PloneTestCase

PloneTestCase (0.9.7)

Document Actions
Released on 2007-12-05 by Stefan Holek for Plone 2.0, Plone 2.1, Plone 2.5, Plone 3.0 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
PloneTestCase sits on top of the ZopeTestCase package. It has been developed to simplify testing of Plone and Plone-based applications and products.

The PloneTestCase package provides:

  • The function installProduct to install a Zope product into the test environment.
  • The function setupPloneSite to create a Plone portal in the test db.

    Note: setupPloneSite accepts an optional products argument, which allows you to specify a list of products that will be added to the portal using the quickinstaller tool.

  • The class PloneTestCase 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_policy, default_products, default_user, and default_password.
  • The constant PLONE21 which evaluates to true for Plone versions >= 2.1.
  • The constant PLONE25 which evaluates to true for Plone versions >= 2.5.
  • 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