Skip to main content

A pytest plugin that reports test results to the BeakerLib framework

Project description

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.

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

pytest-beakerlib-0.6.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_beakerlib-0.6-py2.py3-none-any.whl (7.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pytest-beakerlib-0.6.tar.gz.

File metadata

File hashes

Hashes for pytest-beakerlib-0.6.tar.gz
Algorithm Hash digest
SHA256 dea9d176636b2e293f1c2940d8ed9cadfe8a0924ea9e898a29a0b0b12ed8f57d
MD5 92dc5ff54f057a03fb8ed1050ab64792
BLAKE2b-256 338f97b9449853cc2798bef8779b1adafc733724c1ab3766aec40e68138a5941

See more details on using hashes here.

File details

Details for the file pytest_beakerlib-0.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_beakerlib-0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 923744df457c0c3810c54dfe700d062230f3bbeba35fd78f9f66d318ea66afd4
MD5 9bb51055e1fc89aff6af5f7a56af18a2
BLAKE2b-256 20cfda6e0441aef756901070537a46cc8eb602e942646eb434bfff7b70a9b2e7

See more details on using hashes here.

Supported by

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