https://github.com/pytest-dev/pytest-pastebin
Submit pytest failure or test session information to a pastebin service
https://github.com/pytest-dev/pytest-pastebin
Last synced: 10 days ago
JSON representation
Submit pytest failure or test session information to a pastebin service
- Host: GitHub
- URL: https://github.com/pytest-dev/pytest-pastebin
- Owner: pytest-dev
- License: mit
- Created: 2026-05-09T19:25:31.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-10T19:51:20.000Z (about 2 months ago)
- Last Synced: 2026-06-19T00:28:35.079Z (18 days ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
===============
pytest-pastebin
===============
.. image:: https://img.shields.io/pypi/v/pytest-pastebin.svg
:target: https://pypi.org/project/pytest-pastebin
:alt: PyPI version
.. image:: https://github.com/pytest-dev/pytest-pastebin/actions/workflows/test.yml/badge.svg
:target: https://github.com/pytest-dev/pytest-pastebin/actions/workflows/test.yml
:alt: See Build Status on GitHub Actions
Submit pytest failure or test session information to a pastebin service.
The pastebin service used is https://bpa.st/.
This plugin has been extracted from pytest's core in version 9.1.0.
Installation
------------
You can install "pytest-pastebin" via `pip`_ from `PyPI`_::
$ pip install pytest-pastebin
Usage
-----
::
$ pytest --pastebin=failed # Send failed info to bpa.st pastebin service
...
pastebin session-log: https://bpa.st/show/QUUX
$ pytest --pastebin=all # Send all info to bpa.st pastebin service
...
pastebin session-log: https://bpa.st/show/THUD
License
-------
Distributed under the terms of the `MIT`_ license, "pytest-pastebin" is free and open source software.
.. _`MIT`: https://opensource.org/licenses/MIT
.. _`pytest`: https://github.com/pytest-dev/pytest
.. _`pip`: https://pypi.org/project/pip/
.. _`PyPI`: https://pypi.org/project