Skip to main content

zc.buildout recipe for generating zope2-based test runner

Project description

Overview

A zc.buildout recipe for generating test runners that run under a Zope 2 environment and is “Products”-aware.

Options

collective.recipe.z2testrunner has the following options:

zope2part

name of the script in bin directory to run zope (e. g. zopectl)

defaults

list of default options to call zopectl test with

environment

name of a section which defines variables to be set in environment

modules

list of modules to test (arguments for parameter -m)

packages

list of packages to test (arguments for parameter -s)

extra-paths

list of paths (arguments for parameter –path)

exit-with-status

boolean whether to set parameter –exit-with-status or not (default: false)

Change History

0.3

  • Added parameters defaults and environment

  • Bugfix: now also works with version specifier added after recipe name in buildout

  • Added documentation in README.txt [icemac]

0.2

  • Add extra-paths and exit-with-status option [jfroche]

0.1

  • Initial implementation. [rockyburt]

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page