Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datakurre/corejet.recipe.testrunner
ZC Buildout recipe for creating CoreJet test runners
https://github.com/datakurre/corejet.recipe.testrunner
Last synced: about 2 months ago
JSON representation
ZC Buildout recipe for creating CoreJet test runners
- Host: GitHub
- URL: https://github.com/datakurre/corejet.recipe.testrunner
- Owner: datakurre
- Created: 2011-10-26T16:11:27.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-05-30T04:33:48.000Z (over 12 years ago)
- Last Synced: 2024-10-30T09:05:43.944Z (3 months ago)
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- Changelog: HISTORY.txt
Awesome Lists containing this project
README
Introduction
============This package provides a buildout recipe based on `zc.recipe.testrunner`_ to
install a test script for `corejet.testrunner`_.Usage
=====In your buildout, add a part like this::
[buildout]
parts =
...
test...
[test]
recipe = corejet.recipe.testrunner
eggs =
my.package
defaults = ['--auto-color', '--auto-progress']The recipe accepts the same options as `zc.recipe.testrunner`_, so look at
its documentation for details.When buildout is run, you should have a script in ``bin/test`` and a directory
``parts/test``.To run the tests, use the ``bin/test`` script. If you pass the ``--xml``
option, test reports will be written to ``parts/test/testreports`` directory::$ bin/test --xml -s my.package
If you are using Hudson, you can now configure the build to publish JUnit
test reports for ``/parts/test/testreports/*.xml``.To output a CoreJet report, do::
$ bin/test --corejet="file,path/to/corejet/file.xml" -s my.package
The CoreJet report and output XML file will be placed in
``parts/test/corejet``. You can combine ``--xml`` and ``--corejet``.The example above uses the ``file`` CoreJet repository source, which expects
to find a CoreJet XML file at the path specified after the comma... _zope.testrunner: http://pypi.python.org/pypi/zope.testrunner
.. _zc.recipe.testrunner: http://pypi.python.org/pypi/zc.recipe.testrunner
.. _corejet.core: http://pypi.python.org/pypi/corejet.core
.. _corejet.testrunner: http://pypi.python.org/pypi/corejet.testrunner