Skip to content

Tools to help deploy a database populated with random data for tests purposes.

License

Notifications You must be signed in to change notification settings

joaopedro02/DB_for_tests

Repository files navigation

DB For tests

Tools to help deploy a postgres database populated with random data for tests purposes.

  • It can be used to test CDC replication tools or pipelines.
  • Can be used to test batch replication pipelines.

DB initial structure implemented:

Alt text

How to use

  • to install script dependencies:

    pip install -r requirements.txt
  • to deploy a local postgres instance:

    docker compose up
  • to initiate tables in database for test purposes:

    python3 initiate_database.py
  • to insert random data for test purposes you can use any method on test_data_generation.py, EX:

    python3 test_data_generation.py insert_users
    python3 test_data_generation.py insert_update_users
    python3 test_data_generation.py delete_all_users
    python3 test_data_generation.py insert_update_users
    

About

Tools to help deploy a database populated with random data for tests purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages