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 option. This requires a BeakerLib session (i.e. rlJournalStart should have been run, so that $BEAKERLIB is set)
- Release tarballs are available for download from Fedora Hosted:
- You can also install using pip:
The plugin is also available in Fedora repositories as python3-pytest-beakerlib.
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.
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.
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|pytest_beakerlib-0.7.1-py2.py3-none-any.whl (7.0 kB) Copy SHA256 Checksum SHA256||py2.py3||Wheel||Mar 17, 2017|
|pytest-beakerlib-0.7.1.tar.gz (16.8 kB) Copy SHA256 Checksum SHA256||–||Source||Mar 17, 2017|