https://github.com/ptbtest-dev/ptbtest
https://github.com/ptbtest-dev/ptbtest
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ptbtest-dev/ptbtest
- Owner: python-telegram-bot
- License: gpl-3.0
- Created: 2017-02-28T19:28:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-14T19:32:07.000Z (over 2 years ago)
- Last Synced: 2024-12-18T19:52:10.646Z (11 months ago)
- Language: Python
- Size: 187 KB
- Stars: 50
- Watchers: 6
- Forks: 28
- Open Issues: 12
-
Metadata Files:
- Readme: readme.MD
- License: LICENSE
Awesome Lists containing this project
README
# PTBtest
## A testsuite for [Python telegram bot](https://github.com/python-telegram-bot/python-telegram-bot/).
> This application in NOT in an usable state yet!
# Under new management
Work's being doing to bring this testsuite up to date with PTB. More new about the package soon.
This library is meant for people wanting to write unit tests for their python-telegram-bot driven bots.
The following things make this library attractive to create unit tests:
* 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](http://ptbtestsuite.readthedocs.io/en/master/?badge=master) for further information and check out the examples.