All Projects → python-telegram-bot → ptbtest

python-telegram-bot / ptbtest

Licence: GPL-3.0, LGPL-3.0 licenses found Licenses found GPL-3.0 LICENSE LGPL-3.0 LICENSE.lesser
No description, website, or topics provided.

Programming Languages

python
139335 projects - #7 most used programming language

Maintainer Wanted

Hi.

Occasionally the developer team of PTB is being asked about the status of this library, ptbtest, which is intended to help write unit tests for bots built with python-telegram-bot.

ptbtest is currently not maintained and not compatible with recent PTB versions. The former maintainer has transferred the ownership of the repository to PTBs dev team. However, we have no resources to maintain ptbtest in addition to PTB.

Unfortunately, our first call for maintainers for ptbtest was not successful. We therefore decided that the first person who reaches out to us and wants to take over maintenance of ptbtest will be granted the corresponding access rights and ownerships. We still expect that person to demonstrate a minimum level of experience with Python packaging, open source development and familiarity with ptbtest.

We are very looking forward to your involvement and hope that ptbtest will be continued.

Your PTB Developer Team


Original readme below


Build Status Documentation Status Coverage Status PyPI PyPI PyPI

(In) compatibility

Unfortunately lately this testsuite has not been updated to any versions of python-telegram-bot higher than 6.0. Hopefully some time can be spent to update it soon.

ptbtest

a testsuite for Python telegram bot

This library is meant for people wanting to write unittests for their python-telegram-bot driven bots. The following things make this library attractive to create unittests

  • Mockbot - A fake bot that does not contact telegram servers
  • Works with the updater from telegram.ext
  • Generatorclasses to easily create Users, Chats and Updates.

Read the documentation for further reading and check out the examples.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].