Skip to main content

Test Data Seeding

Populate environments with test data for development and QA

Local Development

Seed test data for local development

Local

Will create:

  • • 1 test city
  • • 20 vendors (various categories)
  • • 200 products (10 per vendor)
  • • 50 test customers
  • • No orders (create manually as needed)

Staging Environment

Seed production-like data for QA testing

Staging

Will create:

  • • 1 test city
  • • 20 vendors (various categories)
  • • 200 products (10 per vendor)
  • • 50 test customers
  • • 70 orders across all statuses (10 per status)

Staging uses Stripe test mode and email sandbox. Safe for testing.

Production Environment

Never seed test data in production. Use real customer data only. Test data seeding is disabled for production environment.

  • • Feature flags control production features
  • • Kill switches available for emergencies
  • • Logging automatically masks sensitive data
  • • Break-glass admin access only