Generate test data easily with Telegram bot: random users, credit cards, texts, and files in various formats. This project aims to save the valuable time of QA Engineers and testers by providing an efficient way to prepare test data.
Test Data Generator is a Python-based project using pyTelegramBotAPI and Faker package. It provides a convenient way to generate data:
- Users information. Full name, mail, password, username, phone, birthdate, and address. Up to 15 users at a time in JSON format.
- Credit card details. MasterCard, VISA, AmEx, Maestro, Discover, and JCB.
- Files in multiple formats. Any of 20 popular formats from 1 B to 45 MB.
- Text samples. Limited only by the Telegram itself: up to 4000 characters.
Contributions to this project are welcome! If you'd like to contribute, fork the repository, create a new branch, make your enhancements, and submit a pull request.
If you have any questions, suggestions, or feedback, feel free to contact me on Telegram or email: [email protected]
If you want to install the project yourself, here's what you need:
-
Install packages using pip (a Python package manager):
pip install pyTelegramBotAPI
pip install Faker
-
Clone the repo:
git clone https://github.com/schoegar/test-data-generator/tree/main
-
Create a Telegram bot using @botFather on Telegram.
-
Obtain your personal
token
from @botFather and insert it into the code.token = 'TOKEN' bot = TeleBot(token, parse_mode = 'html')