{"repo":"seniorsolt/BotFuzzer","free":true,"listed":false,"github":"https://github.com/seniorsolt/BotFuzzer","clone":"git clone https://github.com/seniorsolt/BotFuzzer.git","description":"BotFuzzer is a tool for automated testing of telegram bots","language":"Python","stars":19,"topics":["automated-testing","end-to-end-testing","fuzzing","monkey-test","telegram-bot"],"license":"MIT","category":"workflow-automation","readme_excerpt":"BotFuzzer BotFuzzer is a tool for automated testing of telegram bots. You don't need to create any cases, mocks or suites, just let the BotFuzzer explore your bot. The BotFuzzer algorithm is based on DFS: starting from the base state, which corresponds to an unregistered user, BotFuzzer explores the Telegram bot, aiming to cover all combinations of possible user states and available actions. The result of the work is a tree of states and actions. Currently, export is supported in JSON and draw.io XML formats. Installation BotFuzzer is being developed with Python 3.10. Other versions have not been tested yet. - Clone the repository git clone https://github.com/seniorsolt/BotFuzzer.git - Navigate into the cloned directory cd BotFuzzer - Set up a virtual environment python -m venv venv - Activate the new venv: - Windows: venv\\scripts\\activate - Unix based systems: source venv/bin/activate - Install the requirements pip install -r requirements.txt - Create a .env file in the BotFuzzer folder. Obtain API ID and API HASH from https://my.telegram.org and put them into corresponding fields: BotFuzzer also support AI to perform text based actions: answer open questions, telling email or phone. If you want to use this feature, also put OPENAI API KEY in .env : Usage The entry point is main.py , where you can configure the testing process by setting parameters for the Tester instance. The only required parameter is target bot=\" \" . Target bot is a bot you want to test. All other paramet","default_branch":null,"files":null,"tree":[],"storefront":"/r/seniorsolt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/seniorsolt/BotFuzzer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}