Skip to main content

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

Once installed, this plugin can be activated via the --with-beakerlib option. 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://pagure.io/releases/python-pytest-beakerlib/

You can also install using pip:

https://pypi.python.org/pypi/pytest-beakerlib/0.2

The plugin is also available in Fedora repositories as python3-pytest-beakerlib.

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 file any patches as Pull Requests on the project’s Pagure repo. Any development discussion should be in Pagure Pull Requests and Issues.

Release files for pytest-beakerlib 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-beakerlib 0.7.1
File Size Uploaded
pytest-beakerlib-0.7.1.tar.gz 16.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-beakerlib 0.7.1
File Interpreter ABI Platform
pytest_beakerlib-0.7.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 23.8 kB

Release files / pytest-beakerlib-0.7.1.tar.gz

Download URL pytest-beakerlib-0.7.1.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e9dbe77f34148e8a43bd44c5878de5ec9feef3313afe09d1a04807700c86ba9d
BLAKE2b-256 checksum
How to use checksums
4aaf3445ce7b8e78b8ca973118415714d516eba8f9075bd8f6507705acad84ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pytest_beakerlib-0.7.1-py2.py3-none-any.whl

Download URL pytest_beakerlib-0.7.1-py2.py3-none-any.whl
Size 7.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f3112eb1b76f73a72eaef0d930938ba670fcc26183b4091324d03b8e9cb9f406
BLAKE2b-256 checksum
How to use checksums
98dddd4944f2d3307337e254af013eed879d01cc9e046a417c7682f264686005
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

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