skip to navigation
skip to content

pytest-beakerlib 0.6

A pytest plugin that reports test results to the BeakerLib framework

A pytest plugin that reports test results to the BeakerLib framework.

Once installed, this plugin can be activated via the –with-beakerlib ooption. This requires a BeakerLib session (i.e. rlJournalStart should have been run, so that $BEAKERLIB is set)

Downloading

Release tarballs are available for download from Fedora Hosted:
https://fedorahosted.org/released/python-pytest-beakerlib/

The goal is to include this project in Fedora repositories. Until that happens, you can use testing builds from COPR – see “Developer links” below.

You can also install using pip:
https://pypi.python.org/pypi/pytest-beakerlib/0.2

Operation

A Bash process is run on the side, and BeakerLib commands (rlPhaseStart, rlPhaseEnd, rlPass, rlFail, …) are fed to it. This is not very elegant, but since BeakerLib commands are Bash functions, there is no way around running Bash.

Integration

Other plugins may integrate with this using pytest’s config.pluginmanager.getplugin(‘BeakerLibPlugin’). If this is None, BeakerLib integration is not active, otherwise the result’s run_beakerlib_command method can be used to run additional commands.

Contributing

The project is happy to accept patches! Please format your contribution using the ​FreeIPA patch guidelines, and send it to ​<freeipa-devel@redhat.com>. Any development discussion is welcome there.

Someday the project might get its own list, but that seems premature now.

 
File Type Py Version Uploaded on Size
pytest-beakerlib-0.6.tar.gz (md5) Source 2016-08-22 4KB
pytest_beakerlib-0.6-py2.py3-none-any.whl (md5) Python Wheel 2.7 2016-08-22 7KB