Answer the question
In order to leave comments, you need to log in
How to test telegram chat bots that work on prod?
If there is a chat bot that works and people use it (constantly), and I want to make edits / add a feature to it, how can I make sure that the bot does not crash due to incorrect editing? because I want to test the whole thing
, in my head there is an option to create another chat bot for testing, which will have the same code as on the prod, but only I can make changes to it. And when I test and see that everything works correctly, then I can upload the changes to the prod.
Then the question arises, how to make it work correctly?
1. Make two windows in the IDE, where one project is a dev code, and the second is a pro code
2. Build a CI / CD in which there will be two development / production branches?
Answer the question
In order to leave comments, you need to log in
The second option, of course. The first is savagery. Good idea about two bots
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question