yehuda
yehuda
I guess to match the PTB project at first, and then to start thinking about new features.
Also, to make the process of bot testing easy and simple maybe to the level that anything is already configured (all the bot setup stuff) and the user just writes...
The current implementation is mocking the telegram.bot class so you aren't using the network, the other way is to mock the request class but you'll need to generate a response...
I think the end goal should be to cover all the PTB functionality but for now we can start from the basics..
you don't need to mock the Application class, you can insert updates one by one with `Application.process_update` when the automatic updater is `None`. Also, PTB has [tests](https://github.com/python-telegram-bot/python-telegram-bot/tree/master/tests) for internal use,...
Maybe consider other methods of the core MockBot code
> [`telegram.Bot`](https://github.com/python-telegram-bot/python-telegram-bot/blob/9ebd48903b5f7910f6dccb52a2903831b9e69e38/telegram/_bot.py#L166-L166) and all methods that interacts with the API do it via the [`_post`](https://github.com/python-telegram-bot/python-telegram-bot/blob/9ebd48903b5f7910f6dccb52a2903831b9e69e38/telegram/_bot.py#L665-L665) method (and then it uses the `_do_post` method). we need to see if it easy...
> But, still, I think we need some kind of roadmap. So it will be clear where we are right now and where everything is going to. yes please 🙏
@elebur it's a very busy week for me but i'll try to help tomorrow, is the code on your local machine or on the develop branch?