Skip to main content
.. contents::

.. Note to recipe author!
---------------------
Update the following URLs to point to your:

- code repository
- bug tracker
- questions/comments feedback mail
(do not set a real mail, to avoid spams)

Or remove it if not used.

- Code repository: http://svn.somewhere.com/...
- Questions and comments to somemailing_list
- Report bugs at http://bug.somewhere.com/..


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

${0.1.0 or "0.0.0"} (xxxx-xx-xx)
==================

- Created recipe with ZopeSkel [${Tarek Ziade or ""}].

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 create a working directory among the parts.

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

Example usage
=============

We'll start by creating a buildout that uses the recipe::

>>> write('buildout.cfg',
... """
... [buildout]
... parts = test
... index = http://download.zope.org/simple
...
... [test]
... recipe = pbp.recipe.noserunner
... eggs = pbp.recipe.noserunner
... """)

Running the buildout gives us::

>>> print 'start', system(buildout)
start ...
...
Generated script '/sample-buildout/bin/test'.
<BLANKLINE>

Checking the generated script::

>>> print open(join('bin', 'test')).read()
#!...
<BLANKLINE>
import sys
sys.path[0:0] = [
...
]
<BLANKLINE>
import os
sys.argv[0] = os.path.abspath(sys.argv[0])
os.chdir('...test')
<BLANKLINE>
<BLANKLINE>
import nose.commands
<BLANKLINE>
if __name__ == '__main__':
nose.commands.nosetests()
<BLANKLINE>


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

${Tarek Ziade or ""}, Author


Download
********

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.1.0.tar.gz (4.6 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pbp.recipe.noserunner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cee4a9cf1aaeb3a43fab54a12d57e00dd772e894bd58b3d8d32d8e5f424233fe
MD5 b3f41d4e4671eb336ab4f4532121a2c2
BLAKE2b-256 157065bf2fb6a9a3f98b49d76d340d7694226e44ce3991f187d82ba37829ad3d

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.6

1 file

0.2.5

1 file

0.2.4

1 file

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

0.2.0

1 file

0.1.2

1 file

0.1.1

1 file

This release

0.1.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page