← Back to Index |

MockGen

Fast, standalone Mock Database generation.

A high-performance C# CLI utility engineered to construct synthetic relational schemas, populate structured mock databases (SQLite/SQL), and stream benchmark fixtures at native speed without cloud dependencies.

100% offline, native CLI executable. MIT licensed.

>_ Administrator: Windows PowerShell
×

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Utilities\MockGen> .\MockGen.exe --schema sqlite --tables 12 --rows 50000 --out ./mock_data.db

[MockGen v1.0.0] Initializing synthetic schema builder...

[i] Connecting to target database: mock_data.db

[+] Generated relational schema (12 tables, foreign key constraints active)

[+] Compiling synthetic record generators (names, addresses, timestamps, UUIDs)...

[+] Committing batch transactions [50,000 / 50,000 records inserted]

[+] Building B-Tree indexes and optimizing database pages...

[SUCCESS] Mock database created successfully in 0.42s (18.6 MB).

PS C:\Utilities\MockGen> 

Engine Capabilities

1. Instant Mock Database Generation

Creates populated, ready-to-query SQLite or relational SQL databases seeded with realistic synthetic entities and relational keys.

2. High-Throughput Batch Generation

Engineered in clean C# to pump out tens of thousands of mock rows per second with low memory pressure and fast transaction commits.

3. Multi-Format Output Support

Target raw binary SQLite databases, batch `.sql` migration scripts, or structured tabular `.csv` and `.json` test collections.

4. Zero External Dependencies

Compact CLI tool that requires no node modules, no python interpreters, and no remote subscriptions. Free & MIT licensed.