Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pytest-beakerlib

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytest-beakerlib

A pytest plugin that reports test results to the BeakerLib framework

  • 0.7.1
  • PyPI
  • Socket score

Maintainers
1

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

  • pytest: http://pytest.org/latest/
  • BeakerLib: https://fedorahosted.org/beakerlib/

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.

To release, update version in setup.py, add a Git tag like "v0.3", and run make tarball. Running make upload will put the tarball to Fedora Hosted and PyPI, and a SRPM on Fedorapeople, if you have the rights. Running make release will upload and fire a COPR build.

.. _Pagure repo: https://pagure.io/python-pytest-beakerlib

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc