Smock-it Data Engine
Smock-it Data Engine is a built-in data library that powers the Smock-it CLI, enabling it to generate realistic, customizable mock data. Designed specifically to streamline testing and development, this engine acts as the core data source behind Smock-it, delivering intelligent, context-aware datasets without any external dependencies.
---
🔑 Key Features
$3
The engine uses intelligent matching logic to map fuzzy or inconsistent field names (like “Cust Name” or “Acct Mgr”) to the most relevant data templates, so you don’t have to clean things up manually.
$3
Seamlessly connects countries with valid states, states with cities, and generates phone numbers with correct country codes — ideal for localized testing and international datasets.
$3
Generate realistic names, companies, industries, emails, currencies, and more, all based on context-aware patterns. Even your random data will feel authentic and relevant.
$3
Maintains consistent lookups across parent, child, and grandparent objects, preserving data integrity across up to two levels of related objects.
$3
Generates Start and End Dates with built-in logic, ensuring End Dates always follow Start Dates — perfect for scenarios that require realistic timelines.
$3
Smock-it generates 100% unique records with built-in validation, supporting up to
300K records under standard duplicate rules for reliable test results.
$3
Fetches and validates picklist values against your Salesforce org in real time, ensuring data accuracy and integrity.
$3
Quickly and efficiently generate
unlimited records — ideal for sandbox seeding, load testing, and bulk data imports at any scale.
$3
Generates data locally using its internal engine with
no external API calls, offering faster generation and no volume limits.
---
✅ Prerequisites
- Node.js
v18.0.0 or later
-
Smock-it plugin
---
📦 Installation
> ⚠️
This is not a standalone package. It is a sub-package of the Smock-it CLI.
$3
Install Smock-it : Data Engine will be installed automatically as part of the setup.
$3
Update Smock-it to the latest version:
``
bash
sf plugins update
``
---
📚 Learn More
For detailed usage and installation instructions, visit the
Smock-it GitHub.