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
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.
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.