smockit-data-engine
v0.0.3
Published
SmockIt-Data-Engine is a powerful data library that serves as the primary source for generating realistic data for Smock-It. It houses a vast repository of structured, context-aware mock data, ensuring that Smock-It can efficiently produce high-quality, r
Maintainers
Readme
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
Smart Field Mapping
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.
Realistic Address Mapping
Seamlessly connects countries with valid states, states with cities, and generates phone numbers with correct country codes — ideal for localized testing and international datasets.
Text & Number Generation
Generate realistic names, companies, industries, emails, currencies, and more, all based on context-aware patterns. Even your random data will feel authentic and relevant.
Relationship Modeling
Maintains consistent lookups across parent, child, and grandparent objects, preserving data integrity across up to two levels of related objects.
Logical Date Generation
Generates Start and End Dates with built-in logic, ensuring End Dates always follow Start Dates — perfect for scenarios that require realistic timelines.
No Duplicate Data
Smock-it generates 100% unique records with built-in validation, supporting up to 300K records under standard duplicate rules for reliable test results.
Real-Time Picklist Validation
Fetches and validates picklist values against your Salesforce org in real time, ensuring data accuracy and integrity.
High-Volume Generation
Quickly and efficiently generate unlimited records — ideal for sandbox seeding, load testing, and bulk data imports at any scale.
Zero API Dependency
Generates data locally using its internal engine with no external API calls, offering faster generation and no volume limits.
✅ Prerequisites
- Node.js
v18.0.0or later - Smock-it plugin
📦 Installation
⚠️ This is not a standalone package. It is a sub-package of the Smock-it CLI.
First-Time Setup
Install Smock-it : Data Engine will be installed automatically as part of the setup.
Already Using Smock-it?
Update Smock-it to the latest version:
sf plugins update📚 Learn More
For detailed usage and installation instructions, visit the Smock-it GitHub.
