Skip to main content

Pytest to Telegram reporting plugin

Project description

pytest-telegram Updates

Pytest to Telegram reporting plugin

  • Free software: MIT license


  • Requests


You can install “pytest-telegram” via pip:

$ pip install pytest-telegram


  • Use this plugin by running pytest normally and use the following options to customize report:

>>> telegram:
                        Id of telegram chat
                        Telegram Bot token
                        Link for test report, optional
                        Custom text, will be added for message, supports '\n' as newline, optional
                        File id of telegram sticker which will be attach to Success report
                        File id of telegram sticker which will be attach to Failed report
                        Disables stickers for bot
                        Bot will send failed test names


$ pytest ./tests –telegram_id=100559633 –telegram_token=123:qwe –telegram_report_url= –telegram_custom_text=”This is custom text”

Success report:

Failed report:


If you encounter any problems, please file an issue along with a detailed description.



  • Initial release.


  • Fixed multiline custom text.


  • Added option for disabling stickers.

  • Added option for list failed tests.


  • Added test session time to report.

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-telegram-1.2.0.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

pytest_telegram-1.2.0-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 2 Python 3

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