Personal tools
You are here: Home Products PloneTestCase
Document Actions

PloneTestCase

RSS Feed Category: Development tools — Other products by this author
PloneTestCase is a test framework for Plone and Plone-based applications and products.

Current release: PloneTestCase 0.9.7

Released Dec 4, 2007 — tested with Plone 3.0, Plone 2.5, Plone 2.1, Plone 2.0

Compatible with Plone versions 2.0, 2.1, 2.5, and 3.0.

List all releases… Full release announcement…

Get PloneTestCase for all platforms (12.8 kB)

Product Package

Experimental releases

There are no experimental releases available at the moment.

Project Description

Project resources

The PloneTestCase 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 setupPloneSite to create a Plone portal in the test db.
  • 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_base_profile, default_extension_profiles, 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 constant PLONE30 which evaluates to true for Plone versions >= 3.0.
  • The module utils from the ZopeTestCase package.

Tutorial

PloneTestCase Tutorial presented at the Plone Conference 2004.

by Stefan H. Holek last modified December 5, 2007 - 23:15

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by