Personal tools
You are here: Home Products CMFTestCase
Navigation
Log in


Forgot your password?
New user?
 
Document Actions

CMFTestCase

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

Current release: CMFTestCase 0.9.7

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

Compatible with CMF versions 1.4, 1.5, 1.6, 2.0, and 2.1.

List all releases… Full release announcement…

Get CMFTestCase for all platforms (11.3 kB)

Product Package

Experimental releases

There are no experimental releases available at the moment.

Project Description

Project resources

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.
  • 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.
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