Skip to content

Generate test data with Telegram bot in one click: random users, files, texts and credit cards.

Notifications You must be signed in to change notification settings

lananolana/test_data_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Data Generator

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.

Telegram Bot Python

Features 🚀

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.

Contributing ⭐️

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: lanaalekseevaa@gmail.com

Installation

If you want to install the project yourself, here's what you need:

  1. Install packages using pip (a Python package manager):

    pip install pyTelegramBotAPI
    pip install Faker
  2. Clone the repo:

    git clone https://github.com/schoegar/test-data-generator/tree/main
  3. Create a Telegram bot using @botFather on Telegram.

  4. Obtain your personal token from @botFather and insert it into the code.

    token = 'TOKEN'
    bot = TeleBot(token, parse_mode = 'html')