Skip to content
WordPress plugin that generates realistic fake test data for EasyCommerce stores — 14 data generators, WP-CLI integratio...

2023 · Creator & Maintainer

EasyCommerce FakerPress

WordPress plugin that generates realistic fake test data for EasyCommerce stores — 14 data generators, WP-CLI integration, and 131 Playwright E2E tests.

The challenge

New EasyCommerce stores ship empty — first hour of every dev cycle wasted hand-creating dummy products, orders, and customers just to test workflows. Locale-specific quirks (currency, addresses, names) get faked badly.

The result

One WP-CLI command seeds 500 products, orders, customers, reviews, coupons across 14 generators with locale-aware data. 131 Playwright E2E tests pin every generator and cleanup mode wipes test data before launch.

Year
2023
Role
Creator & Maintainer
Stack
5 teches
Status
Published

Overview

EasyCommerce FakerPress is a developer-focused WordPress plugin that seeds local and staging stores with realistic fake data. v2.1.0 ships 14 data generators covering every major EasyCommerce entity — products, orders, customers, reviews, coupons, categories, shipping zones, and more.

Why I Built It

Every time I started a new EasyCommerce project I wasted the first hour manually creating dummy data to test with. FakerPress eliminates that friction.

Features

  • 14 generators: products, variable products, orders, customers, reviews, coupons, categories, tags, shipping zones, payment methods, and more
  • Configurable locale support — prices, names, and addresses match the site language
  • WP-CLI integration: wp easycommerce generate products --count=500
  • Cleanup mode to wipe test data before a real launch
  • 131 Playwright E2E tests covering every generator and edge case
  • Idempotent: safe to run multiple times

Tech

PHP, WordPress plugin API, Faker, WP-CLI, Playwright (tests).

Share
𝕏 in

Related work

Building something similar?

Let's talk about your project.

Open to freelance engagements and consulting on Laravel, WordPress, and AI-powered systems.