Skip to main content

Expert Python Programming - ZC Buildout runner for nose

Project description

This package is part of the `Expert Python Programming` book written by
Tarek Ziadé.


For more information, go to http://atomisator.ziade.org

.. contents::

QuickStart
**********

`pbp.recipe.noserunner` will let you create a `Nose` test runner script in
your buildout. Here's an example of the simplest configuration::

[buildout]
parts = test

[test]
recipe = pbp.recipe.noserunner

If you run the builout, a `test` script will be created in the bin directory to
run your tests using Nose.

Links:

- Nose project : http://somethingaboutorange.com/mrl/projects/nose
- zc.buildout : http://pypi.python.org/pypi/zc.buildout


Detailed Documentation
**********************

Supported options
=================

The recipe supports the following options:

eggs
The eggs option specified a list of eggs to test given as one ore
more setuptools requirement strings. Each string must be given on
a separate line.

script
The script option gives the name of the script to generate, in the
buildout bin directory. Of the option isn't used, the part name
will be used.

extra-paths
One or more extra paths to include in the generated test script.

defaults
The defaults option lets you specify testrunner default
options. These are specified as Python source for an expression
yielding a list, typically a list literal.

working-directory
The working-directory option lets to specify a directory where the
tests will run. The testrunner will change to this directory when
run. If the working directory is the empty string or not specified
at all, the recipe will not change the current working directory.

environment
A set of environment variables that should be exported before
starting the tests.


Contributors
************

Tarek Ziade, Author


Change history
**************

0.2.6 (2009-05-13)
=================

- Fixed argument passing [tarek]

0.2.5 (2009-05-08)
==================

- Fixed the environment settings. Thanks to Rob Madole [tarek]
- Now you can pass arguments to Nose. Thanks to Kumar McMillan [tarek]

0.2.4 (2008-09-02)
==================

- Don't create/delete working directory [Tarek]

0.2.3 (2008-08-20)
==================

- Fixed change directory [Tarek Ziade]
- Fixed defaults argument [Tarek Ziade]

0.1.1 (2008-06-21)
==================

- Fixed MANIFEST.in again
[Tarek Ziade].


0.1.1 (2008-06-20)
==================

- Fixed MANIFEST.in thx to Mario Morgado
[Tarek Ziade].

0.1.0 (2008-06-20)
==================

- Created recipe with ZopeSkel [Tarek Ziade].

Download
********

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

pbp.recipe.noserunner-0.2.6.tar.gz (10.9 kB view details)

Uploaded Source

File details

Details for the file pbp.recipe.noserunner-0.2.6.tar.gz.

File metadata

File hashes

Hashes for pbp.recipe.noserunner-0.2.6.tar.gz
Algorithm Hash digest
SHA256 f074e9b0110af8335f720141d21247b77280521f89fc00d65a11389aeb2010d5
MD5 e40520a6e84a237604591d204dfb7270
BLAKE2b-256 164a9feba55c1319724d7dbcea300c25bec38c3d7716b98b8041d32341003f13

See more details on using hashes here.

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