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-hypernode.com/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.3.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

pytest_beakerlib-0.3-py2.py3-none-any.whl (7.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for pytest-beakerlib-0.3.tar.gz
Algorithm Hash digest
SHA256 ffc5b77e6bc1dede26edaf0fe8c126aa312a275e1257681d1a3827430b755778
MD5 dba2075dde9c4410df14e7a68f01fbff
BLAKE2b-256 de7481347237644cb9cd1626983cf2d9effd1669bb5299e8f699f1232654c5b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_beakerlib-0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 74da79c461aff5ee8e74d0aaea3e2a5f79334907dec060fc0f22bf3c3254fdfa
MD5 4efd3e8d354e69b6cf1a149d4c91dea0
BLAKE2b-256 763f8600404a22e6de4446e59b44ae91b46397715dd65522c40973b2fbc1e08e

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