Skip to main content

looping testrunner with environment preloading for test-driven development with plone

Project description

aka. looping testrunner with environment preloading for test-driven development

preloads a standard Zope & Plone test environment compatible with PloneTestCase.

Tests are then run in a loop. You are given a shell-like environment with command history where you can select different tests, etc.


Because it preloads the Plone environment you won’t be able to see changes to the Core Plone components. However, it should see all changes in your application code which is what you will most likely be changing anyways. Unless you are a core developer.

Theoretically this should be able to work with any test environment (eg. Django, TG, Twisted).

I eventually plan to do this, and would accept any patches in the meantime if anyone feels so inclined.

How to use it?

Roadrunner only currently works as part of a buildout.

Easiest way to try it is to add it to an existing Plone 3 buildout.

Here’s a sample part:

recipe = zc.recipe.egg
eggs =
extra-paths = ${instance:zope2-location}/lib/python
initialization =
    conf_file = "${instance:location}/etc/zope.conf"
arguments = conf_file, "${instance:zope2-location}", "${buildout:directory}"

Yes it’s ugly. It will get fixed eventually.

Then you can run roadrunner:

$ bin/roadrunner -s Products.PasswordResetTool


Jordan Baker <>


  • ability to preload any arbitrary layers, plus some presets like –plone or –grok

  • hooks for fixture configuration?

  • tests… how ironic this code has none, but it started as a proof of concept

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roadrunner-0.1.tar.gz (22.1 kB view hashes)

Uploaded Source

Built Distribution

roadrunner-0.1-py2.4.egg (49.7 kB view hashes)

Uploaded Source

Supported by

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