Skip to content

Automate generation of test/fake data (customers, orders, products etc.), which can be used for Shopify application testing.

Notifications You must be signed in to change notification settings

saumets/shopify-test-data-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopify Test Data Generator

STDG is a Python package that automates the generation of test/fake data for any Shopify store. Are you developing a new feature, service, and/or plugin, but need some data in a store to actually help you with your testing? Then STDG may be for you! Save yourself the hassle of manually creating all that Shopify store data through the dashboard. You need STDG.

STDG is built and developed using Python 3.4.x

STDG is dependent on the following packages: ShopifyAPI, and Faker


Note: This package is currently in a sandbox state. While usable, presently it's restricted to command-line usage only. This README file may be out of date at any time and further configuration may be required and/or necessary.


Basic Setup

Note that STDG has been developed using Python 3.x and has not been tested with Python 2.x.

  1. First get a python virtualenv up and running and clone the repo. Then:
python setup.py develop
  1. Open and edit the provided stdg-sample.ini file and add your Shopify API credentials and optional settings.
  2. Save your above edits as stdg.ini.

Basic Usage

Simple help:

stdg -h

Help on creating orders:

stdg orders -h

Create 3 orders:

stdg orders create 3

Create 2 customers:

stdg customers create 2

Delete all generated orders:

stdg orders delete

Delete all generated customers:

stdg customers delete

About

Automate generation of test/fake data (customers, orders, products etc.), which can be used for Shopify application testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages